commit | 9a2591453a386b59e17cff03202fcac741aa8edb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Nov 04 08:38:36 2018 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Nov 04 08:52:26 2018 -0500 |
tree | d158c26b5e671d3a3c63ef331b0c9d4618c8845b | |
parent | 0bd551b87ae0e8a123bffb2340c19a8ce9118b83 [diff] |
fix do_emergency_remount_callback() and do_umount_root() The former is racy - fetching ->s_root outside of ->s_umount. The latter actually never propagates errors (ret in inner scope shadows ret in the outer, so any assignments are lost by the time we get to return ret;). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>