fs_context: drop the unused lsm_flags member
authorOndrej Mosnacek <omosnace@redhat.com>
Thu, 16 Mar 2023 13:07:51 +0000 (14:07 +0100)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Thu, 16 Mar 2023 13:38:28 +0000 (14:38 +0100)
commit4e04143c869c5b6d499fbd5083caa860d5c942c3
tree06538ecff81c10028e723c7f8a8cd122d3c4b8c1
parent74e60b8b2f0fe3702710e648a31725ee8224dbdf
fs_context: drop the unused lsm_flags member

This isn't ever used by VFS now, and it couldn't even work. Any FS that
uses the SECURITY_LSM_NATIVE_LABELS flag needs to also process the
value returned back from the LSM, so it needs to do its
security_sb_set_mnt_opts() call on its own anyway.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Documentation/filesystems/mount_api.rst
fs/nfs/super.c
include/linux/fs_context.h
include/linux/security.h