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

Jason Yan
2022-10-26T13:58:35Z

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@huawei.com>
> ---
> fs/ext4/super.c | 28 +++++++++++++++++++++++++---
> 1 file changed, 25 insertions(+), 3 deletions(-)

Looks good,
Reviewed-by: Jason Yan <yanaijie@huawei.com>