diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2023-03-16 16:07:51 +0300 |
---|---|---|
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | 2023-03-16 16:38:28 +0300 |
commit | 4e04143c869c5b6d499fbd5083caa860d5c942c3 (patch) | |
tree | 06538ecff81c10028e723c7f8a8cd122d3c4b8c1 /include/linux/fs_context.h | |
parent | 74e60b8b2f0fe3702710e648a31725ee8224dbdf (diff) | |
download | linux-4e04143c869c5b6d499fbd5083caa860d5c942c3.tar.xz |
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>
Diffstat (limited to 'include/linux/fs_context.h')
-rw-r--r-- | include/linux/fs_context.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs_context.h b/include/linux/fs_context.h index 5469ffee21c7..ff6341e09925 100644 --- a/include/linux/fs_context.h +++ b/include/linux/fs_context.h @@ -104,7 +104,6 @@ struct fs_context { unsigned int sb_flags; /* Proposed superblock flags (SB_*) */ unsigned int sb_flags_mask; /* Superblock flags that were changed */ unsigned int s_iflags; /* OR'd with sb->s_iflags */ - unsigned int lsm_flags; /* Information flags from the fs to the LSM */ enum fs_context_purpose purpose:8; enum fs_context_phase phase:8; /* The phase the context is in */ bool need_free:1; /* Need to call ops->free() */ |