Use ext4_block_get_noread when read operation is not required
[lwext4.git] / lwext4 / ext4_super.h
index 2dac61a610c07f04984967fb0b53fbd51081a63d..a9eec0721339da17c59aeb4d7710c8ebed938ce6 100644 (file)
@@ -108,8 +108,7 @@ static inline bool ext4_sb_check_flag(struct ext4_sblock *s, uint32_t v)
  * @param   s superblock descriptor
  * @param   v feature to check
  * @return  true if feature is supported*/
-static inline bool ext4_sb_has_feature_compatible(struct ext4_sblock *s,
-                                                 uint32_t v)
+static inline bool ext4_sb_feature_com(struct ext4_sblock *s, uint32_t v)
 {
        return to_le32(s->features_compatible) & v;
 }
@@ -118,8 +117,7 @@ static inline bool ext4_sb_has_feature_compatible(struct ext4_sblock *s,
  * @param   s superblock descriptor
  * @param   v feature to check
  * @return  true if feature is supported*/
-static inline bool ext4_sb_has_feature_incompatible(struct ext4_sblock *s,
-                                                   uint32_t v)
+static inline bool ext4_sb_feature_incom(struct ext4_sblock *s, uint32_t v)
 {
        return to_le32(s->features_incompatible) & v;
 }
@@ -128,8 +126,7 @@ static inline bool ext4_sb_has_feature_incompatible(struct ext4_sblock *s,
  * @param   s superblock descriptor
  * @param   v flag to check
  * @return  true if flag is supported*/
-static inline bool ext4_sb_has_feature_read_only(struct ext4_sblock *s,
-                                                uint32_t v)
+static inline bool ext4_sb_feature_ro_com(struct ext4_sblock *s, uint32_t v)
 {
        return to_le32(s->features_read_only) & v;
 }