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

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

cifs: have cifs_show_options show forceuid/forcegid options

parent 8616e0fc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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=");