[PATCH v2 0/2] ext4: fix WARNING in ext4_da_update_reserve_space
From: Baokun Li
Date: Thu Apr 06 2023 - 09:29:24 EST
V1->V2:
Modify the patch 1 description and add the Fixes tag.
Add the patch 2 as suggested by Jan Kara.
Baokun Li (2):
ext4: only update i_reserved_data_blocks on successful block
allocation
ext4: use __GFP_NOFAIL if allocating extents_status cannot fail
fs/ext4/extents_status.c | 36 +++++++++++++++++++++++++++++-------
fs/ext4/indirect.c | 8 ++++++++
fs/ext4/inode.c | 10 ----------
3 files changed, 37 insertions(+), 17 deletions(-)
--
2.31.1