Re: [PATCH v3 2/4] ext4: add helper to check quota inums

From: Jason Yan
Date: Wed Oct 26 2022 - 09:58:39 EST



On 2022/10/26 12:23, Baokun Li wrote:
Before quota is enabled, a check on the preset quota inums in
ext4_super_block is added to prevent wrong quota inodes from being loaded.
In addition, when the quota fails to be enabled, the quota type and quota
inum are printed to facilitate fault locating.

Signed-off-by: Baokun Li<libaokun1@xxxxxxxxxx>
---
fs/ext4/super.c | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)

Looks good,
Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>