v1->v2: Add CC-stable tag in first patch. Rename check_free_block() -> check_dquot_block_header(). v2->v3: Define do_check_range() completely in patch 1. Move 'dqdh_entries' checking into check_dquot_block_header(). Do block checing later in find_next_id(). Zhihao Cheng (3): quota: Check next/prev free block number after reading from quota file quota: Replace all block number checking with helper function quota: Add more checking after reading from quota file fs/quota/quota_tree.c | 73 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 12 deletions(-) -- 2.31.1