aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorJunling Zheng <zhengjunling@huawei.com>2018-09-28 20:25:56 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-30 18:34:18 -0700
commitd440c52d3151a28358f4c2d52d8583a0aa54ab83 (patch)
tree0ccc0848a20f769546b9023cf8139ac2b63e294a /include/linux/f2fs_fs.h
parentf2fs: add to account skip count of background GC (diff)
downloadlinux-dev-d440c52d3151a28358f4c2d52d8583a0aa54ab83.tar.xz
linux-dev-d440c52d3151a28358f4c2d52d8583a0aa54ab83.zip
f2fs: support superblock checksum
Now we support crc32 checksum for superblock. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/f2fs_fs.h')
-rw-r--r--include/linux/f2fs_fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 1d4b196291d6..1db13ff9a3f4 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -109,7 +109,8 @@ struct f2fs_super_block {
struct f2fs_device devs[MAX_DEVICES]; /* device list */
__le32 qf_ino[F2FS_MAX_QUOTAS]; /* quota inode numbers */
__u8 hot_ext_count; /* # of hot file extension */
- __u8 reserved[314]; /* valid reserved region */
+ __u8 reserved[310]; /* valid reserved region */
+ __le32 crc; /* checksum of superblock */
} __packed;
/*