From: Christoph Hellwig Date: Mon, 18 Jun 2012 14:47:03 +0000 (-0400) Subject: fs: move path_put on failure out of ->follow_link X-Git-Tag: v3.6-rc1~152^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=408ef013cc9e2f94a14f7ccbbe52ddfb18437a99;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed