summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-07-31 14:19:09 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-08-04 04:09:26 +0200
commit704956ecf5bcdc14d14650f39f2b545b34c96265 (patch)
tree7d1671f472ed05961a350510d09c4b2273e6a789 /include
parentf2fs: return wrong error number on f2fs_quota_write (diff)
downloadlinux-704956ecf5bcdc14d14650f39f2b545b34c96265.tar.xz
linux-704956ecf5bcdc14d14650f39f2b545b34c96265.zip
f2fs: support inode checksum
This patch adds to support inode checksum in f2fs. Signed-off-by: Chao Yu <yuchao0@huawei.com> [Jaegeuk Kim: fix verification flow] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/f2fs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 50f176683676..2a0c453d7235 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -240,6 +240,7 @@ struct f2fs_inode {
__le16 i_extra_isize; /* extra inode attribute size */
__le16 i_padding; /* padding */
__le32 i_projid; /* project id */
+ __le32 i_inode_checksum;/* inode meta checksum */
__le32 i_extra_end[0]; /* for attribute size calculation */
};
__le32 i_addr[DEF_ADDRS_PER_INODE]; /* Pointers to data blocks */