search for: f2fs_super_mag

Displaying 1 result from an estimated 1 matches for "f2fs_super_mag".

Did you mean: f2fs_super_magic
2014 Feb 24
0
[PATCH] fstype: f2fs support
...ged, 58 insertions(+) create mode 100644 usr/kinit/fstype/f2fs_fs.h diff --git a/usr/kinit/fstype/f2fs_fs.h b/usr/kinit/fstype/f2fs_fs.h new file mode 100644 index 0000000..5774a9b --- /dev/null +++ b/usr/kinit/fstype/f2fs_fs.h @@ -0,0 +1,44 @@ +#ifndef __F2FS_FS_H +#define __F2FS_FS_H + +#define F2FS_SUPER_MAGIC 0xF2F52010 /* F2FS MAGIC */ +#define F2FS_MAX_EXTENSION 64 /* # of extension entries */ + +/* + * For superblock + */ +struct f2fs_super_block { + __le32 magic; /* Magic Number */ + __le16 major_ver; /* Major Version */ + __le16 minor_ver; /* Minor Version */ + __le32 log_sectorsize; /* lo...