diff options
Diffstat (limited to 'include/linux/fscrypto.h')
| -rw-r--r-- | include/linux/fscrypto.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/fscrypto.h b/include/linux/fscrypto.h index cfa6cde25f8e..76cff18bb032 100644 --- a/include/linux/fscrypto.h +++ b/include/linux/fscrypto.h | |||
| @@ -274,8 +274,7 @@ extern void fscrypt_restore_control_page(struct page *); | |||
| 274 | extern int fscrypt_zeroout_range(struct inode *, pgoff_t, sector_t, | 274 | extern int fscrypt_zeroout_range(struct inode *, pgoff_t, sector_t, |
| 275 | unsigned int); | 275 | unsigned int); |
| 276 | /* policy.c */ | 276 | /* policy.c */ |
| 277 | extern int fscrypt_process_policy(struct inode *, | 277 | extern int fscrypt_process_policy(struct file *, const struct fscrypt_policy *); |
| 278 | const struct fscrypt_policy *); | ||
| 279 | extern int fscrypt_get_policy(struct inode *, struct fscrypt_policy *); | 278 | extern int fscrypt_get_policy(struct inode *, struct fscrypt_policy *); |
| 280 | extern int fscrypt_has_permitted_context(struct inode *, struct inode *); | 279 | extern int fscrypt_has_permitted_context(struct inode *, struct inode *); |
| 281 | extern int fscrypt_inherit_context(struct inode *, struct inode *, | 280 | extern int fscrypt_inherit_context(struct inode *, struct inode *, |
| @@ -345,7 +344,7 @@ static inline int fscrypt_notsupp_zeroout_range(struct inode *i, pgoff_t p, | |||
| 345 | } | 344 | } |
| 346 | 345 | ||
| 347 | /* policy.c */ | 346 | /* policy.c */ |
| 348 | static inline int fscrypt_notsupp_process_policy(struct inode *i, | 347 | static inline int fscrypt_notsupp_process_policy(struct file *f, |
| 349 | const struct fscrypt_policy *p) | 348 | const struct fscrypt_policy *p) |
| 350 | { | 349 | { |
| 351 | return -EOPNOTSUPP; | 350 | return -EOPNOTSUPP; |
