diff options
| author | Linus Torvalds <[email protected]> | 2017-10-22 01:39:18 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-10-22 01:39:18 +0000 |
| commit | ec0145e9cc46c2e8636b14f08f53c3011967c20e (patch) | |
| tree | 6167a80ed74d8117371f882d5b8a35ce2d30b092 /fs/namespace.c | |
| parent | Merge tag 'dmaengine-fix-4.14-rc6' of git://git.infradead.org/users/vkoul/sla... (diff) | |
| parent | Convert fs/*/* to SB_I_VERSION (diff) | |
| download | kernel-ec0145e9cc46c2e8636b14f08f53c3011967c20e.tar.gz kernel-ec0145e9cc46c2e8636b14f08f53c3011967c20e.zip | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro:
"MS_I_VERSION fixes - Mimi's fix + missing bits picked from Matthew
(his patch contained a duplicate of the fs/namespace.c fix as well,
but by that point the original fix had already been applied)"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
Convert fs/*/* to SB_I_VERSION
vfs: fix mounting a filesystem with i_version
Diffstat (limited to 'fs/namespace.c')
| -rw-r--r-- | fs/namespace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 3b601f115b6c..d18deb4c410b 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2825,7 +2825,8 @@ long do_mount(const char *dev_name, const char __user *dir_name, SB_MANDLOCK | SB_DIRSYNC | SB_SILENT | - SB_POSIXACL); + SB_POSIXACL | + SB_I_VERSION); if (flags & MS_REMOUNT) retval = do_remount(&path, flags, sb_flags, mnt_flags, |
