aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/crypto.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-12-13 00:27:58 +0100
committerRichard Weinberger <richard@nod.at>2016-12-13 16:18:16 +0100
commit385886686609dbdcd2e8f55c358647faa8d4f89e (patch)
tree86142686a370f43d3a5f5931e244824387f88963 /fs/ubifs/crypto.c
parentubifs: Raise write version to 5 (diff)
downloadlinux-dev-385886686609dbdcd2e8f55c358647faa8d4f89e.tar.xz
linux-dev-385886686609dbdcd2e8f55c358647faa8d4f89e.zip
ubifs: Use FS_CFLG_OWN_PAGES
Commit bd7b8290388d ("fscrypt: Cleanup page locking requirements for fscrypt_{decrypt,encrypt}_page()") renamed the flag. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/crypto.c')
-rw-r--r--fs/ubifs/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/crypto.c b/fs/ubifs/crypto.c
index aefa3c30b73b..3402720f2b28 100644
--- a/fs/ubifs/crypto.c
+++ b/fs/ubifs/crypto.c
@@ -87,7 +87,7 @@ int ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn,
}
struct fscrypt_operations ubifs_crypt_operations = {
- .flags = FS_CFLG_INPLACE_ENCRYPTION,
+ .flags = FS_CFLG_OWN_PAGES,
.get_context = ubifs_crypt_get_context,
.set_context = ubifs_crypt_set_context,
.is_encrypted = __ubifs_crypt_is_encrypted,