Skip to content
Commit 90e4fc88 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b46c267e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment