diff options
author | David S. Miller <davem@davemloft.net> | 2016-06-30 05:03:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-30 05:03:36 -0400 |
commit | ee58b57100ca953da7320c285315a95db2f7053d (patch) | |
tree | 77b815a31240adc4d6326346908137fc6c2c3a96 /fs/namespace.c | |
parent | 6f30e8b022c8e3a722928ddb1a2ae0be852fcc0e (diff) | |
parent | e7bdea7750eb2a64aea4a08fa5c0a31719c8155d (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Several cases of overlapping changes, except the packet scheduler
conflicts which deal with the addition of the free list parameter
to qdisc_enqueue().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index a7ec92c051f5..783004af5707 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -3247,6 +3247,10 @@ static bool fs_fully_visible(struct file_system_type *type, int *new_mnt_flags) | |||
3247 | if (mnt->mnt.mnt_sb->s_iflags & SB_I_NOEXEC) | 3247 | if (mnt->mnt.mnt_sb->s_iflags & SB_I_NOEXEC) |
3248 | mnt_flags &= ~(MNT_LOCK_NOSUID | MNT_LOCK_NOEXEC); | 3248 | mnt_flags &= ~(MNT_LOCK_NOSUID | MNT_LOCK_NOEXEC); |
3249 | 3249 | ||
3250 | /* Don't miss readonly hidden in the superblock flags */ | ||
3251 | if (mnt->mnt.mnt_sb->s_flags & MS_RDONLY) | ||
3252 | mnt_flags |= MNT_LOCK_READONLY; | ||
3253 | |||
3250 | /* Verify the mount flags are equal to or more permissive | 3254 | /* Verify the mount flags are equal to or more permissive |
3251 | * than the proposed new mount. | 3255 | * than the proposed new mount. |
3252 | */ | 3256 | */ |