]> git.baikalelectronics.ru Git - kernel.git/commit
fs: introduce SB_INLINECRYPT
authorSatya Tangirala <satyat@google.com>
Thu, 2 Jul 2020 01:56:04 +0000 (01:56 +0000)
committerEric Biggers <ebiggers@google.com>
Wed, 8 Jul 2020 17:29:14 +0000 (10:29 -0700)
commitf939a5128d0ab3db427c31d33777e9c3ae9f7582
treed1369c6b8d5638d45285ea9d7ebbdbf5231a7a36
parent20d527e148caa0342b75a096c4ba477fca3deb5d
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: Satya Tangirala <satyat@google.com>
Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20200702015607.1215430-2-satyat@google.com
Signed-off-by: Eric Biggers <ebiggers@google.com>
include/linux/fs.h