diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 63d069bd80b7..01e3a0047fed 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -776,6 +776,10 @@ struct inode { | |||
776 | 776 | ||
777 | unsigned int i_flags; | 777 | unsigned int i_flags; |
778 | 778 | ||
779 | #ifdef CONFIG_IMA | ||
780 | /* protected by i_lock */ | ||
781 | unsigned int i_readcount; /* struct files open RO */ | ||
782 | #endif | ||
779 | atomic_t i_writecount; | 783 | atomic_t i_writecount; |
780 | #ifdef CONFIG_SECURITY | 784 | #ifdef CONFIG_SECURITY |
781 | void *i_security; | 785 | void *i_security; |