diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-14 23:42:49 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 04:18:19 +0200 |
commit | 90e4fc8890daecea72ef73ac8047050e3e8d32db (patch) | |
tree | 41920d19c3f34c94218ba9910b783047b187cca2 /fs/overlayfs | |
parent | 9p: don't bother with 4K allocation for 24-byte local array... (diff) | |
download | linux-90e4fc8890daecea72ef73ac8047050e3e8d32db.tar.xz linux-90e4fc8890daecea72ef73ac8047050e3e8d32db.zip |
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 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions