commit | afac7cba7ed31968a95e181dc25e204e45009ea8 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Nov 23 19:34:49 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:52:36 2012 -0500 |
tree | 282cf7da6bc3915093df622ebfcd39f44f6fd1cd | |
parent | b2dba1af3c4157040303a76d25216b1713d333d0 [diff] |
vfs: more mnt_parent cleanups a) mount --move is checking that ->mnt_parent is non-NULL before looking if that parent happens to be shared; ->mnt_parent is never NULL and it's not even an misspelled !mnt_has_parent() b) pivot_root open-codes is_path_reachable(), poorly. c) so does path_is_under(), while we are at it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>