V1->V2: Add judgment for CONFIG_QUOTA to avoid warning "label 'failed_mount9' defined but not used". (Reported-by: kernel test robot <lkp@xxxxxxxxx>) V2->V3: By adding __maybe_unused to silence possible compilation complain in patch one, instead of adding the judgment. (Suggested by Jan Kara). Baokun Li (2): ext4: turning quotas off if mount failed after enable quotas ext4: refactoring to use the unified helper ext4_quotas_off() fs/ext4/super.c | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) -- 2.31.1