projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad4778f
)
[CIFS] Show nostrictsync and noperm mount options in /proc/mounts
author
Steve French
<
[email protected]
>
Thu, 20 Oct 2011 01:44:48 +0000
(20:44 -0500)
committer
Steve French
<
[email protected]
>
Thu, 20 Oct 2011 01:44:48 +0000
(20:44 -0500)
Add support to print nostrictsync and noperm mount options in
/proc/mounts for shares mounted with these options.
(cleanup merge conflict in Sachin's original patch)
Suggested-by: Sachin Prabhu <
[email protected]
>
Signed-off-by: Steve French <
[email protected]
>
fs/cifs/cifsfs.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifsfs.c
b/fs/cifs/cifsfs.c
index b0a2e1647390e1e10dc69b2aadfe9d0856d9e811..96a48baad8f7c49fb34cab93a2e4045d6e20b654 100644
(file)
--- a/
fs/cifs/cifsfs.c
+++ b/
fs/cifs/cifsfs.c
@@
-436,6
+436,10
@@
cifs_show_options(struct seq_file *s, struct vfsmount *m)
seq_printf(s, ",mfsymlinks");
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE)
seq_printf(s, ",fsc");
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC)
+ seq_printf(s, ",nostrictsync");
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM)
+ seq_printf(s, ",noperm");
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO)
seq_printf(s, ",strictcache");