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)
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

diff --cc fs/9p/v9fs.h
Simple merge
Simple merge
Simple merge