Al Viro 6d7b5aaed7 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>
2012-07-14 16:32:56 +04:00
..
2012-05-29 23:28:34 -04:00
2012-05-28 09:54:45 -07:00
2012-07-14 16:32:56 +04:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-07-11 16:04:47 -07:00
2012-05-29 23:28:33 -04:00
2012-05-29 23:28:33 -04:00
2012-07-14 16:32:55 +04:00
2012-06-20 15:15:03 -07:00
2012-03-20 21:29:52 -04:00
2012-03-30 17:31:56 -07:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-06-21 14:21:11 -05:00
2012-05-29 16:22:23 -07:00
2012-03-20 21:29:46 -04:00
2012-03-20 21:29:46 -04:00
2012-05-28 09:54:45 -07:00
2012-07-14 16:32:55 +04:00
2012-05-29 23:28:41 -04:00
2012-01-03 22:52:39 -05:00
2012-07-14 16:32:47 +04:00
2012-07-14 16:32:55 +04:00
2012-07-14 16:32:47 +04:00
2012-03-20 21:29:38 -04:00
2012-07-14 16:32:48 +04:00
2012-05-29 23:28:41 -04:00
2012-06-13 21:16:42 +02:00
2012-05-29 23:28:29 -04:00