fs: introduce SB_INLINECRYPT
Introduce SB_INLINECRYPT, which is set by filesystems that wish to use blk-crypto for file content en/decryption. This flag maps to the '-o inlinecrypt' mount option which multiple filesystems will implement, and code in fs/crypto/ needs to be able to check for this mount option in a filesystem-independent way. Signed-off-by: NSatya Tangirala <satyat@google.com> Reviewed-by: NJaegeuk Kim <jaegeuk@kernel.org> Reviewed-by: NEric Biggers <ebiggers@google.com> Reviewed-by: NTheodore Ts'o <tytso@mit.edu> Link: https://lore.kernel.org/r/20200702015607.1215430-2-satyat@google.comSigned-off-by: NEric Biggers <ebiggers@google.com>
Showing
想要评论请 注册 或 登录