Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoqiangnk committed Apr 30, 2011
1 parent 9e3664d commit 8959f7b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fs/ext4/ext4.h
Expand Up @@ -1042,9 +1042,13 @@ struct ext4_inode_info {
#define EXT4_FLAGS_FIX_EXCLUDE 0x0040 /* Bad exclude bitmap */

#define EXT4_SET_FLAGS(sb, mask) \
EXT4_SB(sb)->s_es->s_flags |= cpu_to_le32(mask)
do { \
EXT4_SB(sb)->s_es->s_flags |= cpu_to_le32(mask); \
} while (0)
#define EXT4_CLEAR_FLAGS(sb, mask) \
EXT4_SB(sb)->s_es->s_flags &= ~cpu_to_le32(mask)
do { \
EXT4_SB(sb)->s_es->s_flags &= ~cpu_to_le32(mask); \
} while (0)
#define EXT4_TEST_FLAGS(sb, mask) \
(EXT4_SB(sb)->s_es->s_flags & cpu_to_le32(mask))
#endif
Expand Down

0 comments on commit 8959f7b

Please sign in to comment.