[PATCH 5/6] fscrypt: Deplay bounce page pool allocation until needed

2016-12-01 Thread Richard Weinberger
From: David Gstir Since fscrypt users can now indicated if fscrypt_encrypt_page() should use a bounce page, we can delay the bounce page pool initialization util it is really needed. That is until fscrypt_operations has no FS_CFLG_OWN_PAGES flag set. Signed-off-by: David

[PATCH 5/6] fscrypt: Deplay bounce page pool allocation until needed

2016-12-01 Thread Richard Weinberger
From: David Gstir Since fscrypt users can now indicated if fscrypt_encrypt_page() should use a bounce page, we can delay the bounce page pool initialization util it is really needed. That is until fscrypt_operations has no FS_CFLG_OWN_PAGES flag set. Signed-off-by: David Gstir Signed-off-by: