diff options
| -rw-r--r-- | fs/ext4/ext4.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 65485ab7a889..2238e6097cfa 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
| @@ -1402,7 +1402,18 @@ static inline void ext4_clear_inode_##name(struct inode *inode, int bit) \ | |||
| 1402 | clear_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ | 1402 | clear_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ |
| 1403 | } | 1403 | } |
| 1404 | 1404 | ||
| 1405 | /* Add these declarations here only so that these functions can be | ||
| 1406 | * found by name. Otherwise, they are very hard to locate. */ | ||
| 1407 | static inline int ext4_test_inode_flag(struct inode *inode, int bit); | ||
| 1408 | static inline void ext4_set_inode_flag(struct inode *inode, int bit); | ||
| 1409 | static inline void ext4_clear_inode_flag(struct inode *inode, int bit); | ||
| 1405 | EXT4_INODE_BIT_FNS(flag, flags, 0) | 1410 | EXT4_INODE_BIT_FNS(flag, flags, 0) |
| 1411 | |||
| 1412 | /* Add these declarations here only so that these functions can be | ||
| 1413 | * found by name. Otherwise, they are very hard to locate. */ | ||
| 1414 | static inline int ext4_test_inode_state(struct inode *inode, int bit); | ||
| 1415 | static inline void ext4_set_inode_state(struct inode *inode, int bit); | ||
| 1416 | static inline void ext4_clear_inode_state(struct inode *inode, int bit); | ||
| 1406 | #if (BITS_PER_LONG < 64) | 1417 | #if (BITS_PER_LONG < 64) |
| 1407 | EXT4_INODE_BIT_FNS(state, state_flags, 0) | 1418 | EXT4_INODE_BIT_FNS(state, state_flags, 0) |
| 1408 | 1419 | ||
