Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4486d6ed authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: show noforceuid/noforcegid mount options (try #2)



Since forceuid is the default, we now need to show when it's disabled.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 9b9d6b24
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -376,10 +376,14 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
	seq_printf(s, ",uid=%d", cifs_sb->mnt_uid);
	if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)
		seq_printf(s, ",forceuid");
	else
		seq_printf(s, ",noforceuid");

	seq_printf(s, ",gid=%d", cifs_sb->mnt_gid);
	if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)
		seq_printf(s, ",forcegid");
	else
		seq_printf(s, ",noforcegid");

	cifs_show_address(s, tcon->ses->server);