]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/f2fs/data.c
f2fs: call set_buffer_new for get_block
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Feb 2015 18:34:38 +0000 (10:34 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:47 +0000 (17:04 -0800)
commitda17eece035d72cb50d48529744a490784f29d2f
treec1dac57816c10f09ca7c97757c8350ab47b71348
parentaaf9607516ed38825268515ef4d773289a44f429
f2fs: call set_buffer_new for get_block

This patch fixes wrong handling of buffer_new flag in get_block.
If f2fs allocates new blocks and mapped buffer_head, it needs to set buffer_new
for the bh_result.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c