From: Al Viro Date: Tue, 14 Apr 2015 21:42:49 +0000 (-0400) Subject: 9p: don't bother with __getname() in ->follow_link() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~184^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e4fc8890daecea72ef73ac8047050e3e8d32db;p=pandora-kernel.git 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 --- Reading git-diff-tree failed