9p: don't bother with __getname() in ->follow_link()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 14 Apr 2015 21:42:49 +0000 (17:42 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:18:19 +0000 (22:18 -0400)
commit90e4fc8890daecea72ef73ac8047050e3e8d32db
tree41920d19c3f34c94218ba9910b783047b187cca2
parentb46c267e4756a88593c4a08de869e70d3907637f
9p: don't bother with __getname() in ->follow_link()

We copy there a kmalloc'ed string and proceed to kfree that string immediately
after that.  Easier to just feed that string to nd_set_link() and _not_
kfree it until ->put_link() (which becomes kfree_put_link() in that case).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/v9fs.h
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c