commit | 7f6c7e62fcc123e6bd9206da99a2163fe3facc31 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Mar 06 13:56:34 2012 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Mar 10 17:05:30 2012 -0500 |
tree | 1ab20c92d09849bee893a80baefa0057bbc072ed | |
parent | 097b180ca09b581ef0dc24fbcfc1b227de3875df [diff] |
vfs: fix return value from do_last() complete_walk() returns either ECHILD or ESTALE. do_last() turns this into ECHILD unconditionally. If not in RCU mode, this error will reach userspace which is complete nonsense. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> CC: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>