summaryrefslogtreecommitdiffstats
path: root/include/linux/fscrypto.h
diff options
context:
space:
mode:
authorDavid Gstir <david@sigma-star.at>2016-12-06 23:53:56 +0100
committerTheodore Ts'o <tytso@mit.edu>2016-12-11 16:26:12 -0500
commitbd7b8290388dd58a8c0a3710b171e58ef952ca4d (patch)
treedc2d2057b88637522ed061d0872204af055e9b2d /include/linux/fscrypto.h
parent1400451f04f2ff28b658b92557495e5090914aee (diff)
downloadblackbird-op-linux-bd7b8290388dd58a8c0a3710b171e58ef952ca4d.tar.gz
blackbird-op-linux-bd7b8290388dd58a8c0a3710b171e58ef952ca4d.zip
fscrypt: Cleanup page locking requirements for fscrypt_{decrypt,encrypt}_page()
Rename the FS_CFLG_INPLACE_ENCRYPTION flag to FS_CFLG_OWN_PAGES which, when set, indicates that the fs uses pages under its own control as opposed to writeback pages which require locking and a bounce buffer for encryption. Signed-off-by: David Gstir <david@sigma-star.at> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fscrypto.h')
-rw-r--r--include/linux/fscrypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fscrypto.h b/include/linux/fscrypto.h
index 2d9abfa22b94..188b4fa59cbf 100644
--- a/include/linux/fscrypto.h
+++ b/include/linux/fscrypto.h
@@ -80,7 +80,7 @@ struct fscrypt_name {
/*
* fscrypt superblock flags
*/
-#define FS_CFLG_INPLACE_ENCRYPTION (1U << 1)
+#define FS_CFLG_OWN_PAGES (1U << 1)
/*
* crypto opertions for filesystems
OpenPOWER on IntegriCloud