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

Commit 89562b77 authored by Steve French's avatar Steve French
Browse files

[CIFS] add missing seq_printf to cifs_show_options for hard mount option



Also Kari Hurtta noticed a missing check in the same function which is now fixed.

CC: Kari Hurtta <hurtta+gmane@siilo.fmi.fi>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 2b280fab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -360,7 +360,10 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
			}
			if (cifs_sb->tcon->seal)
				seq_printf(s, ",seal");
			if (cifs_sb->tcon->nocase)
				seq_printf(s, ",nocase");
			if (cifs_sb->tcon->retry)
				seq_printf(s, ",hard");
		}
		if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)
			seq_printf(s, ",posixpaths");