mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc filesystem updates from Al Viro: "Assorted normal VFS / filesystems stuff..." * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: dentry name snapshots Make statfs properly return read-only state after emergency remount fs/dcache: init in_lookup_hashtable minix: Deinline get_block, save 2691 bytes fs: Reorder inode_owner_or_capable() to avoid needless fs: warn in case userspace lied about modprobe return
This commit is contained in:
@@ -38,6 +38,8 @@ static int flags_by_sb(int s_flags)
|
||||
flags |= ST_SYNCHRONOUS;
|
||||
if (s_flags & MS_MANDLOCK)
|
||||
flags |= ST_MANDLOCK;
|
||||
if (s_flags & MS_RDONLY)
|
||||
flags |= ST_RDONLY;
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user