summaryrefslogtreecommitdiffstats
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-13 15:10:36 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-28 15:41:28 -0700
commit76f105a2dbcd47509bac6ba8d94cb3759a3e6e9d (patch)
tree123117eb19f5c4b7b21ad8be6679e1b778c4b184 /include/linux/f2fs_fs.h
parentb5492af78c89b52a8e7273445b2248b397a15333 (diff)
downloadtalos-obmc-linux-76f105a2dbcd47509bac6ba8d94cb3759a3e6e9d.tar.gz
talos-obmc-linux-76f105a2dbcd47509bac6ba8d94cb3759a3e6e9d.zip
f2fs: add feature facility in superblock
This patch introduces a feature in superblock, which will indicate any new features for f2fs. 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 8d345c24bcf7..d44e97f2b98e 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -90,7 +90,8 @@ struct f2fs_super_block {
__le32 cp_payload;
__u8 version[VERSION_LEN]; /* the kernel version */
__u8 init_version[VERSION_LEN]; /* the initial kernel version */
- __u8 reserved[892]; /* valid reserved region */
+ __le32 feature; /* defined features */
+ __u8 reserved[888]; /* valid reserved region */
} __packed;
/*
OpenPOWER on IntegriCloud