mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04: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:
commit
b8d4c1f9f4
10 changed files with 61 additions and 46 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue