summaryrefslogtreecommitdiffstats
path: root/block/noop-iosched.c
diff options
context:
space:
mode:
authorChristoph Hellwig2012-06-18 16:47:03 +0200
committerAl Viro2012-07-14 14:35:35 +0200
commit408ef013cc9e2f94a14f7ccbbe52ddfb18437a99 (patch)
tree3168e06e8090210a59af788ca97cd40d87b5282e /block/noop-iosched.c
parentdebugfs: get rid of useless arguments to debugfs_{mkdir,symlink} (diff)
downloadkernel-qcow2-linux-408ef013cc9e2f94a14f7ccbbe52ddfb18437a99.tar.gz
kernel-qcow2-linux-408ef013cc9e2f94a14f7ccbbe52ddfb18437a99.tar.xz
kernel-qcow2-linux-408ef013cc9e2f94a14f7ccbbe52ddfb18437a99.zip
fs: move path_put on failure out of ->follow_link
Currently the non-nd_set_link based versions of ->follow_link are expected to do a path_put(&nd->path) on failure. This calling convention is unexpected, undocumented and doesn't match what the nd_set_link-based instances do. Move the path_put out of the only non-nd_set_link based ->follow_link instance into the caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions