]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs crypto: shrink size of the f2fs_crypto_ctx structure
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 12 May 2015 20:40:20 +0000 (13:40 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 1 Jun 2015 23:20:57 +0000 (16:20 -0700)
commitca40b0305209248e5fd05f6ba8a3874656ff0117
tree65e86f731b5da91f6572f3fda670359661165951
parent640778fbc97b36757bd1f857ba4b599a200517c2
f2fs crypto: shrink size of the f2fs_crypto_ctx structure

This patch integrates the below patch into f2fs.

"ext4 crypto: shrink size of the ext4_crypto_ctx structure

Some fields are only used when the crypto_ctx is being used on the
read path, some are only used on the write path, and some are only
used when the structure is on free list.  Optimize memory use by using
a union."

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/crypto.c
fs/f2fs/f2fs_crypto.h
fs/f2fs/segment.c