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:
8616e0f
)
cifs: have cifs_show_options show forceuid/forcegid options
author
Jeff Layton
<jlayton@redhat.com>
Thu, 11 Jun 2009 14:27:29 +0000
(10:27 -0400)
committer
Steve French
<sfrench@us.ibm.com>
Sat, 13 Jun 2009 08:17:30 +0000
(08:17 +0000)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifsfs.c
b/fs/cifs/cifsfs.c
index 3f121fbd6c566bf25914334a726dcd376c01c11c..8b315708cb3fb8b52456f5eb9657a8e6bc8809b3 100644
(file)
--- a/
fs/cifs/cifsfs.c
+++ b/
fs/cifs/cifsfs.c
@@
-357,7
+357,12
@@
cifs_show_options(struct seq_file *s, struct vfsmount *m)
cifs_show_address(s, tcon->ses->server);
seq_printf(s, ",uid=%d", cifs_sb->mnt_uid);
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)
+ seq_printf(s, ",forceuid");
+
seq_printf(s, ",gid=%d", cifs_sb->mnt_gid);
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)
+ seq_printf(s, ",forcegid");
server = tcon->ses->server;
seq_printf(s, ",addr=");