forked from luck/tmp_suning_uos_patched
cifs: have cifs_show_options show forceuid/forcegid options
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
8616e0fc1e
commit
340481a364
@ -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=");
|
||||
|
Loading…
Reference in New Issue
Block a user