|
@@ -5686,13 +5686,13 @@ static int ext4_enable_quotas(struct super_block *sb)
|
|
DQUOT_USAGE_ENABLED |
|
|
DQUOT_USAGE_ENABLED |
|
|
(quota_mopt[type] ? DQUOT_LIMITS_ENABLED : 0));
|
|
(quota_mopt[type] ? DQUOT_LIMITS_ENABLED : 0));
|
|
if (err) {
|
|
if (err) {
|
|
- for (type--; type >= 0; type--)
|
|
|
|
- dquot_quota_off(sb, type);
|
|
|
|
-
|
|
|
|
ext4_warning(sb,
|
|
ext4_warning(sb,
|
|
"Failed to enable quota tracking "
|
|
"Failed to enable quota tracking "
|
|
"(type=%d, err=%d). Please run "
|
|
"(type=%d, err=%d). Please run "
|
|
"e2fsck to fix.", type, err);
|
|
"e2fsck to fix.", type, err);
|
|
|
|
+ for (type--; type >= 0; type--)
|
|
|
|
+ dquot_quota_off(sb, type);
|
|
|
|
+
|
|
return err;
|
|
return err;
|
|
}
|
|
}
|
|
}
|
|
}
|