Christoph Hellwig 408ef013cc 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>
2012-07-14 16:35:35 +04:00
..
2012-07-14 16:34:32 +04:00
2012-05-28 09:54:45 -07:00
2009-05-15 15:32:45 +02:00
2007-10-17 08:42:48 -07:00
2012-03-21 17:54:57 -07:00
2012-07-14 16:34:32 +04:00
2012-05-31 17:49:28 -07:00