mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
fs: fix adding security options to statmount.mnt_opt
commit5eb9871053upstream. Prepending security options was made conditional on sb->s_op->show_options, but security options are independent of sb options. Fixes:056d33137b("fs: prepend statmount.mnt_opts string with security_sb_mnt_opts()") Fixes:f9af549d1f("fs: export mount options via statmount()") Cc: stable@vger.kernel.org # v6.11 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Link: https://lore.kernel.org/r/20250129151253.33241-1-mszeredi@redhat.com Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
45439a8b11
commit
7db0365ee6
1 changed files with 14 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue