aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto/fscrypt_private.h
diff options
context:
space:
mode:
authorDavid Gstir <david@sigma-star.at>2016-12-06 23:53:57 +0100
committerTheodore Ts'o <tytso@mit.edu>2016-12-11 16:33:11 -0500
commitf32d7ac20a5864483c1f96e4970daa083e18bfd1 (patch)
treef381a5707d80076055bb23c14a5a2c134f3ae7df /fs/crypto/fscrypt_private.h
parentfscrypt: Cleanup page locking requirements for fscrypt_{decrypt,encrypt}_page() (diff)
downloadlinux-dev-f32d7ac20a5864483c1f96e4970daa083e18bfd1.tar.xz
linux-dev-f32d7ac20a5864483c1f96e4970daa083e18bfd1.zip
fscrypt: Delay bounce page pool allocation until needed
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 <david@sigma-star.at> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/fscrypt_private.h')
-rw-r--r--fs/crypto/fscrypt_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/crypto/fscrypt_private.h b/fs/crypto/fscrypt_private.h
index c98b2a7fb6d3..7ba10cd45a2e 100644
--- a/fs/crypto/fscrypt_private.h
+++ b/fs/crypto/fscrypt_private.h
@@ -85,7 +85,7 @@ struct fscrypt_completion_result {
/* crypto.c */
-int fscrypt_initialize(void);
+int fscrypt_initialize(unsigned int cop_flags);
/* keyinfo.c */
extern int fscrypt_get_crypt_info(struct inode *);