diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-05-12 13:26:54 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-06-01 16:20:55 -0700 |
commit | 8bacf6deb02367008cc25244d9c3d23b0f797048 (patch) | |
tree | 3d0aca12b7f09483945d4f9d3c7ec5b8131adf24 /fs/f2fs/f2fs.h | |
parent | 06e1bc05cad8d06860b52c79d4669483c7e39a4f (diff) | |
download | op-kernel-dev-8bacf6deb02367008cc25244d9c3d23b0f797048.zip op-kernel-dev-8bacf6deb02367008cc25244d9c3d23b0f797048.tar.gz |
f2fs crypto: use slab caches
This patch integrates the below patch into f2fs.
"ext4 crypto: use slab caches
Use slab caches the ext4_crypto_ctx and ext4_crypt_info structures for
slighly better memory efficiency and debuggability."
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 20e7be6..59e2bc1 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2004,6 +2004,7 @@ int f2fs_process_policy(const struct f2fs_encryption_policy *, struct inode *); int f2fs_get_policy(struct inode *, struct f2fs_encryption_policy *); /* crypt.c */ +extern struct kmem_cache *f2fs_crypt_info_cachep; extern struct workqueue_struct *f2fs_read_workqueue; bool f2fs_valid_contents_enc_mode(uint32_t); uint32_t f2fs_validate_encryption_key_size(uint32_t, uint32_t); |