]> git.karo-electronics.de Git - linux-beck.git/commit
fscrypt: Cleanup page locking requirements for fscrypt_{decrypt,encrypt}_page()
authorDavid Gstir <david@sigma-star.at>
Tue, 6 Dec 2016 22:53:56 +0000 (23:53 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 11 Dec 2016 21:26:12 +0000 (16:26 -0500)
commitbd7b8290388dd58a8c0a3710b171e58ef952ca4d
treedc2d2057b88637522ed061d0872204af055e9b2d
parent1400451f04f2ff28b658b92557495e5090914aee
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>
fs/crypto/crypto.c
fs/ext4/inode.c
fs/f2fs/data.c
include/linux/fscrypto.h