]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/f2fs_fs.h
f2fs: split UMOUNT and FASTBOOT flags
[karo-tx-linux.git] / include / linux / f2fs_fs.h
index 87f14e90e9848904da0cc326d17096f1ce6049f5..09805720f4bfc09a9809c22ccb061413b6ea34af 100644 (file)
@@ -87,6 +87,7 @@ struct f2fs_super_block {
 /*
  * For checkpoint
  */
+#define CP_FASTBOOT_FLAG       0x00000020
 #define CP_FSCK_FLAG           0x00000010
 #define CP_ERROR_FLAG          0x00000008
 #define CP_COMPACT_SUM_FLAG    0x00000004
@@ -224,6 +225,8 @@ enum {
        OFFSET_BIT_SHIFT
 };
 
+#define OFFSET_BIT_MASK                (0x07)  /* (0x01 << OFFSET_BIT_SHIFT) - 1 */
+
 struct node_footer {
        __le32 nid;             /* node id */
        __le32 ino;             /* inode nunmber */