commit | 3244e0cabeda59779e1ba51bee1466c5c1432a05 | [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:34 2018 -0500 |
tree | d158c26b5e671d3a3c63ef331b0c9d4618c8845b | |
parent | 62696e9113a9b0a62a8d545fdc8980a8dc13d5be [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>