aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/cifsfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 3f121fbd6c5..8b315708cb3 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -357,7 +357,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
357 cifs_show_address(s, tcon->ses->server); 357 cifs_show_address(s, tcon->ses->server);
358 358
359 seq_printf(s, ",uid=%d", cifs_sb->mnt_uid); 359 seq_printf(s, ",uid=%d", cifs_sb->mnt_uid);
360 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)
361 seq_printf(s, ",forceuid");
362
360 seq_printf(s, ",gid=%d", cifs_sb->mnt_gid); 363 seq_printf(s, ",gid=%d", cifs_sb->mnt_gid);
364 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)
365 seq_printf(s, ",forcegid");
361 366
362 server = tcon->ses->server; 367 server = tcon->ses->server;
363 seq_printf(s, ",addr="); 368 seq_printf(s, ",addr=");