diff options
| author | Chengguang Xu <[email protected]> | 2020-05-22 04:40:34 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2020-05-22 12:34:07 +0000 |
| commit | 8939a3af5c08daca7914c53d9f99c222569b6509 (patch) | |
| tree | fe7638f6875975ebf7f173c177040b32e167c21f /security/selinux/hooks.c | |
| parent | Merge branch 'akpm' (patches from Andrew) (diff) | |
| download | kernel-8939a3af5c08daca7914c53d9f99c222569b6509.tar.gz kernel-8939a3af5c08daca7914c53d9f99c222569b6509.zip | |
ext2: Fix i_op setting for special inode
Let's always set special inode i_op to &ext2_special_inode_operations
regardless of CONFIG_EXT2_FS_XATTR setting. It makes sence to be able to
query extended inode flags (needing ->setattr and ->getattr callbacks)
even when CONFIG_EXT2_FS_XATTR is not set.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
