f2fs: avoid writing 0'th page in volatile writes
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 14 Apr 2016 23:48:52 +0000 (16:48 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Apr 2016 21:24:39 +0000 (14:24 -0700)
commite6e5f5610d585551785ec654b6db9277b19a0664
tree63020b453c38f5bdf74e06c75cf843a975993eb4
parenteca76e783cf5970db36edfda7e66487d897ea222
f2fs: avoid writing 0'th page in volatile writes

The first page of volatile writes usually contains a sort of header information
which will be used for recovery.
(e.g., journal header of sqlite)

If this is written without other journal data, user needs to handle the stale
journal information.

Acked-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c