]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68ef5848c513cab63a6526d34559ba0442a17caa
tree63020b453c38f5bdf74e06c75cf843a975993eb4
parent28662dfa16213a02868c2ce1736948f6546c8b7f
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