Update the comment for SB_INLINECRYPT to match the latest code, where
SB_INLINECRYPT now controls whether blk-crypto uses inline encryption
hardware rather than whether blk-crypto is used.

Signed-off-by: Eric Biggers <[email protected]>
---
 include/linux/fs/super_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/fs/super_types.h b/include/linux/fs/super_types.h
index ef7941e9dc79..3bdd7f7fb9e5 100644
--- a/include/linux/fs/super_types.h
+++ b/include/linux/fs/super_types.h
@@ -300,7 +300,7 @@ struct super_block {
 #define SB_NODIRATIME   BIT(11)        /* Do not update directory access times 
*/
 #define SB_SILENT       BIT(15)
 #define SB_POSIXACL     BIT(16)        /* Supports POSIX ACLs */
-#define SB_INLINECRYPT  BIT(17)        /* Use blk-crypto for encrypted files */
+#define SB_INLINECRYPT  BIT(17)        /* Use inline crypto hardware if 
available */
 #define SB_KERNMOUNT    BIT(22)        /* this is a kern_mount call */
 #define SB_I_VERSION    BIT(23)        /* Update inode I_version field */
 #define SB_LAZYTIME     BIT(25)        /* Update the on-disk [acm]times lazily 
*/
-- 
2.55.0


Reply via email to