Displaying 1 result from an estimated 1 matches for "f2fs_super_block".
2014 Feb 24
0
[PATCH] fstype: f2fs support
...le 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; /* log2 sector size in bytes */
+ __le32 log_sectors_per_block; /* log2 # of sectors per block */
+ __le32 log_blocksize; /* log2 block size in bytes *...