ubifs: Use FS_CFLG_OWN_PAGES
authorRichard Weinberger <richard@nod.at>
Mon, 12 Dec 2016 23:27:58 +0000 (00:27 +0100)
committerRichard Weinberger <richard@nod.at>
Tue, 13 Dec 2016 15:18:16 +0000 (16:18 +0100)
Commit bd7b8290388d ("fscrypt: Cleanup page locking requirements for
fscrypt_{decrypt,encrypt}_page()") renamed the flag.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/crypto.c

index aefa3c30b73bd629b0add4aa944cb86728cf2403..3402720f2b28280c1012c3d0a02ae1c27569e496 100644 (file)
@@ -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,