]> git.baikalelectronics.ru Git - kernel.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)
commit967d021258037608572b5984c5de8759102e1ada
treedc2d2057b88637522ed061d0872204af055e9b2d
parent77e83862c57860b20c154e1473ed5ce816b3f0cd
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