diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-14 17:42:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-10 22:18:19 -0400 |
commit | 90e4fc8890daecea72ef73ac8047050e3e8d32db (patch) | |
tree | 41920d19c3f34c94218ba9910b783047b187cca2 /drivers/iio/dac/ad5624r_spi.c | |
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>
Diffstat (limited to 'drivers/iio/dac/ad5624r_spi.c')
0 files changed, 0 insertions, 0 deletions