Skip to content
  • Al Viro's avatar
    vfs: more mnt_parent cleanups · afac7cba
    Al Viro authored
    
    
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    afac7cba