diff -drupN a/fs/proc_namespace.c b/fs/proc_namespace.c --- a/fs/proc_namespace.c 2018-08-06 17:23:04.000000000 +0300 +++ b/fs/proc_namespace.c 2022-06-12 05:28:14.000000000 +0300 @@ -118,7 +118,9 @@ static int show_vfsmnt(struct seq_file * if (err) goto out; show_mnt_opts(m, mnt); - if (sb->s_op->show_options) + if (sb->s_op->show_options2) + err = sb->s_op->show_options2(mnt, m, mnt_path.dentry); + else if (sb->s_op->show_options) err = sb->s_op->show_options(m, mnt_path.dentry); seq_puts(m, " 0 0\n"); out: @@ -180,7 +182,9 @@ static int show_mountinfo(struct seq_fil err = show_sb_opts(m, sb); if (err) goto out; - if (sb->s_op->show_options) + if (sb->s_op->show_options2) { + err = sb->s_op->show_options2(mnt, m, mnt->mnt_root); + } else if (sb->s_op->show_options) err = sb->s_op->show_options(m, mnt->mnt_root); seq_putc(m, '\n'); out: