From 1e5f4240714bb238d2d17c7e14e5fb45c9140665 Mon Sep 17 00:00:00 2001 From: Paulo Alcantara Date: Sat, 24 Feb 2024 16:57:14 -0300 Subject: smb: client: return reparse type in /proc/mounts Add support for returning reparse mount option in /proc/mounts. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402262152.YZOwDlCM-lkp@intel.com/ Signed-off-by: Paulo Alcantara Signed-off-by: Steve French --- fs/smb/client/cifsfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/smb/client/cifsfs.c') diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c index 62c4d54b301e..1bfd1b4c41d9 100644 --- a/fs/smb/client/cifsfs.c +++ b/fs/smb/client/cifsfs.c @@ -673,6 +673,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root) seq_printf(s, ",backupgid=%u", from_kgid_munged(&init_user_ns, cifs_sb->ctx->backupgid)); + seq_show_option(s, "reparse", + cifs_reparse_type_str(cifs_sb->ctx->reparse_type)); seq_printf(s, ",rsize=%u", cifs_sb->ctx->rsize); seq_printf(s, ",wsize=%u", cifs_sb->ctx->wsize); -- cgit