summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim2015-04-10 02:03:53 +0200
committerJaegeuk Kim2015-04-16 18:45:40 +0200
commit10027551ccf5459cc771c31ac8bc8e5cc8db45f8 (patch)
treeeae6cfe1d0daae9d6ed5e30d63e2f966af847d46 /fs/f2fs/f2fs.h
parentf2fs: avoid abnormal behavior on broken symlink (diff)
downloadkernel-qcow2-linux-10027551ccf5459cc771c31ac8bc8e5cc8db45f8.tar.gz
kernel-qcow2-linux-10027551ccf5459cc771c31ac8bc8e5cc8db45f8.tar.xz
kernel-qcow2-linux-10027551ccf5459cc771c31ac8bc8e5cc8db45f8.zip
f2fs: pass checkpoint reason on roll-forward recovery
This patch adds CP_RECOVERY to remain recovery information for checkpoint. And, it makes sure writing checkpoint in this case. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 053361ace0ec..c06a25e5cec3 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -103,6 +103,7 @@ enum {
CP_UMOUNT,
CP_FASTBOOT,
CP_SYNC,
+ CP_RECOVERY,
CP_DISCARD,
};