Commit 340481a3 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French

cifs: have cifs_show_options show forceuid/forcegid options

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 8616e0fc
...@@ -357,7 +357,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) ...@@ -357,7 +357,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
cifs_show_address(s, tcon->ses->server); cifs_show_address(s, tcon->ses->server);
seq_printf(s, ",uid=%d", cifs_sb->mnt_uid); 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); 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; server = tcon->ses->server;
seq_printf(s, ",addr="); seq_printf(s, ",addr=");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment