diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-24 08:51:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-24 13:43:38 -0600 |
commit | 402dd2cf46b177be5bcb138b7d7fd8f38aa130e4 (patch) | |
tree | c65768649135b010c8eb61be3e8b9bd38bab3c13 /fs/namei.c | |
parent | 1fb1a2ad75e33e646d33e42b9ed17d879d472859 (diff) | |
download | linux-402dd2cf46b177be5bcb138b7d7fd8f38aa130e4.tar.gz linux-402dd2cf46b177be5bcb138b7d7fd8f38aa130e4.tar.bz2 linux-402dd2cf46b177be5bcb138b7d7fd8f38aa130e4.zip |
fs: remove the unused SB_I_MULTIROOT flag
The last user of SB_I_MULTIROOT is disappeared with commit f2aedb713c28
("NFS: Add fs_context support.")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index e99e2a9da0f7..f1eb8ccd2be9 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -568,8 +568,8 @@ static bool path_connected(struct vfsmount *mnt, struct dentry *dentry) { struct super_block *sb = mnt->mnt_sb; - /* Bind mounts and multi-root filesystems can have disconnected paths */ - if (!(sb->s_iflags & SB_I_MULTIROOT) && (mnt->mnt_root == sb->s_root)) + /* Bind mounts can have disconnected paths */ + if (mnt->mnt_root == sb->s_root) return true; return is_subdir(dentry, mnt->mnt_root); |