diff options
Diffstat (limited to 'include/linux/fscrypt_common.h')
-rw-r--r-- | include/linux/fscrypt_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fscrypt_common.h b/include/linux/fscrypt_common.h index e3e1208e0f54..97f738628b36 100644 --- a/include/linux/fscrypt_common.h +++ b/include/linux/fscrypt_common.h @@ -83,6 +83,9 @@ struct fscrypt_operations { unsigned (*max_namelen)(struct inode *); }; +/* Maximum value for the third parameter of fscrypt_operations.set_context(). */ +#define FSCRYPT_SET_CONTEXT_MAX_SIZE 28 + static inline bool fscrypt_dummy_context_enabled(struct inode *inode) { if (inode->i_sb->s_cop->dummy_context && |