f2fs: commit atomic written page in LFS mode
authorChao Yu <chao2.yu@samsung.com>
Wed, 28 Oct 2015 09:56:14 +0000 (17:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 4 Dec 2015 19:52:33 +0000 (11:52 -0800)
commit2da3e027461ab0148384b02bd5905f1a7b335dff
treea2cd5fbde5d57a1f594c052111053cc16529cd40
parent787c7b8cb3c5196f77e4682e0b1c71375e74822c
f2fs: commit atomic written page in LFS mode

We should always commit atomic written pages in LFS mode, otherwise data
will become corrupted if we encounter suddent power cut after partial
pages committed in IPU mode.

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