diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-14 21:42:49 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 02:18:19 (GMT) |
commit | 90e4fc8890daecea72ef73ac8047050e3e8d32db (patch) | |
tree | 41920d19c3f34c94218ba9910b783047b187cca2 /lib/cordic.c | |
parent | b46c267e4756a88593c4a08de869e70d3907637f (diff) | |
download | linux-90e4fc8890daecea72ef73ac8047050e3e8d32db.tar.xz |
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>
Diffstat (limited to 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions