From: Al Viro Date: Thu, 24 Nov 2011 00:34:49 +0000 (-0500) Subject: vfs: more mnt_parent cleanups X-Git-Tag: v3.3-rc1~170^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afac7cba7ed31968a95e181dc25e204e45009ea8;p=pandora-kernel.git 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 --- Reading git-diff-tree failed