]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs crypto: zero next free dnode block
authorChao Yu <chao2.yu@samsung.com>
Mon, 18 May 2015 10:00:06 +0000 (18:00 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 1 Jun 2015 23:21:00 +0000 (16:21 -0700)
commitcb5c94cf3a825a0b64ae84516e7dd5c8a59befe6
treeb1840f3fb0e95caa616cf801c6518f9e68c5f482
parentcfc4d971df411c68e27d903f749e0f6fffd9da40
f2fs crypto: zero next free dnode block

Now page cache of meta inode is used by garbage collection for encrypted page,
it may contain random data, so we should zero it before issuing discard.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c