[v3,0/2] ext4: fix WARNING in ext4_update_inline_data

Message ID 20230304025458.4007825-1-yebin@huaweicloud.com
Headers
Series ext4: fix WARNING in ext4_update_inline_data |

Message

Ye Bin March 4, 2023, 2:54 a.m. UTC
  From: Ye Bin <yebin10@huawei.com>

Diff v3 vs v2:
Remove set 'EXT4_STATE_MAY_INLINE_DATA' flag from ext4_find_inline_data_nolock()

Diff v2 vs v1:
Only update 'inline_off' when do extra expand.

Ye Bin (2):
  ext4: remove set 'EXT4_STATE_MAY_INLINE_DATA' flag from
    ext4_find_inline_data_nolock()
  ext4: fix WARNING in ext4_update_inline_data

 fs/ext4/inline.c | 1 -
 fs/ext4/inode.c  | 7 ++++++-
 fs/ext4/xattr.c  | 3 +++
 3 files changed, 9 insertions(+), 2 deletions(-)