Here are some cleanups and refactoring of the inline data code. Please see patches for details. Julian Sun (5): ext4: Remove a redundant return statement ext4: Don't set EXT4_STATE_MAY_INLINE_DATA for ea inodes ext4: Introduce a new helper function ext4_generic_write_inline_data() ext4: Replace ext4_da_write_inline_data_begin() with ext4_generic_write_inline_data(). ext4: Refactor out ext4_try_to_write_inline_data() fs/ext4/ext4.h | 10 +- fs/ext4/extents_status.c | 1 - fs/ext4/ialloc.c | 2 +- fs/ext4/inline.c | 199 +++++++++++++-------------------------- fs/ext4/inode.c | 4 +- 5 files changed, 75 insertions(+), 141 deletions(-) -- 2.39.5