[PATCH v2 0/2] ext4: fix two bug_on in __es_tree_search
From: Baokun Li
Date: Thu Oct 20 2022 - 23:46:00 EST
V1->V2:
In patch 2, when imode is not set to S_IFREG, the inode also needs
to be initialized. Otherwise, the check can be bypassed, causing
the BUG_ON. (found in the review by yangerkun)
Baokun Li (2):
ext4: fix bug_on in __es_tree_search caused by wrong s_usr_quota_inum
ext4: fix bug_on in __es_tree_search caused by wrong boot loader inode
fs/ext4/ioctl.c | 2 +-
fs/ext4/super.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.31.1