Re: [PATCH 02/29] fscrypt: Allow fscrypt_decrypt_page() to function with non-writeback pages

From: Eric Biggers
Date: Tue Nov 15 2016 - 13:25:41 EST


On Sun, Nov 13, 2016 at 10:20:45PM +0100, Richard Weinberger wrote:
> /**
> * f2crypt_decrypt_page() - Decrypts a page in-place
> - * @page: The page to decrypt. Must be locked.
> + * @inode: The encrypted inode to decrypt.
> + * @page: The page to decrypt. Must be locked.

Strictly speaking, it's not the inode itself being decrypted, but rather the
data associated with it. Could this be better expressed as something like
"The inode to which the page belongs"?

Eric