diff options
Diffstat (limited to 'ubifs-utils/libubifs/budget.c')
-rw-r--r-- | ubifs-utils/libubifs/budget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubifs-utils/libubifs/budget.c b/ubifs-utils/libubifs/budget.c index 54392a9..5550c9a 100644 --- a/ubifs-utils/libubifs/budget.c +++ b/ubifs-utils/libubifs/budget.c @@ -201,7 +201,7 @@ long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs) static int can_use_rp(__unused struct ubifs_info *c) { /* Fsck can always use reserved pool. */ - return c->program_type != MKFS_PROGRAM_TYPE; + return c->program_type == FSCK_PROGRAM_TYPE; } /** |