diff options
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index f2c1fd7978a5..fab659edf11a 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -3010,7 +3010,7 @@ static inline void security_audit_rule_free(void *lsmrule) | |||
3010 | 3010 | ||
3011 | #ifdef CONFIG_SECURITYFS | 3011 | #ifdef CONFIG_SECURITYFS |
3012 | 3012 | ||
3013 | extern struct dentry *securityfs_create_file(const char *name, mode_t mode, | 3013 | extern struct dentry *securityfs_create_file(const char *name, umode_t mode, |
3014 | struct dentry *parent, void *data, | 3014 | struct dentry *parent, void *data, |
3015 | const struct file_operations *fops); | 3015 | const struct file_operations *fops); |
3016 | extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent); | 3016 | extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent); |
@@ -3025,7 +3025,7 @@ static inline struct dentry *securityfs_create_dir(const char *name, | |||
3025 | } | 3025 | } |
3026 | 3026 | ||
3027 | static inline struct dentry *securityfs_create_file(const char *name, | 3027 | static inline struct dentry *securityfs_create_file(const char *name, |
3028 | mode_t mode, | 3028 | umode_t mode, |
3029 | struct dentry *parent, | 3029 | struct dentry *parent, |
3030 | void *data, | 3030 | void *data, |
3031 | const struct file_operations *fops) | 3031 | const struct file_operations *fops) |