summaryrefslogtreecommitdiffstats
path: root/firmware/tehuti
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-10 10:15:17 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 14:32:56 +0200
commit6d7b5aaed7d887b34f29f900244cdbd17a86637c (patch)
treee94341bc903a57e1c92c03c4953ae041b87f9807 /firmware/tehuti
parentcoda: use list_for_each_entry (diff)
downloadlinux-6d7b5aaed7d887b34f29f900244cdbd17a86637c.tar.xz
linux-6d7b5aaed7d887b34f29f900244cdbd17a86637c.zip
namei.c: let follow_link() do put_link() on failure
no need for kludgy "set cookie to ERR_PTR(...) because we failed before we did actual ->follow_link() and want to suppress put_link()", no pointless check in put_link() itself. Callers checked if follow_link() has failed anyway; might as well break out of their loops if that happened, without bothering to call put_link() first. [AV: folded fixes from hch] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions