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

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

Message

Ye Bin March 3, 2023, 8:21 a.m. UTC
  From: Ye Bin <yebin10@huawei.com>

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


Ye Bin (2):
  ext4: introduce 'update_only' parameter for
    ext4_find_inline_data_nolock()
  ext4: fix WARNING in ext4_update_inline_data

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