]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: check in-memory nat version bitmap
authorChao Yu <yuchao0@huawei.com>
Sat, 7 Jan 2017 10:52:01 +0000 (18:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 02:48:49 +0000 (18:48 -0800)
commit49d8d657176cf509758306f7a2623f4cf9bfbfbf
tree55d398c8c0c971edf8f31e7be9d811e93b199801
parent246bee51b9f60ba68b1b5dced487fcec5b671c68
f2fs: check in-memory nat version bitmap

This patch adds a mirror for nat version bitmap, and use it to detect
in-memory bitmap corruption which may be caused by bit-transition of
cache or memory overflow.

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