commit | 90e4fc8890daecea72ef73ac8047050e3e8d32db | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 14 17:42:49 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 10 22:18:19 2015 -0400 |
tree | 41920d19c3f34c94218ba9910b783047b187cca2 | |
parent | b46c267e4756a88593c4a08de869e70d3907637f [diff] |
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>