git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64/mmap: properly account for stack randomization in mmap_base
[sfrench/cifs-2.6.git]
/
fs
/
statfs.c
diff --git
a/fs/statfs.c
b/fs/statfs.c
index 41a6a82da5e2614fd4e441a8c7a5341e1ee7273e..fab9b6a3c116c145115fa230a5848e6d9eb81bb1 100644
(file)
--- a/
fs/statfs.c
+++ b/
fs/statfs.c
@@
-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;
}