aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index f71e6b8822c4..1018053519e6 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -649,8 +649,6 @@ static int init_constants_late(struct ubifs_info *c)
649 * 649 *
650 * Subtract the LEB reserved for GC and the LEB which is reserved for 650 * Subtract the LEB reserved for GC and the LEB which is reserved for
651 * deletions. 651 * deletions.
652 *
653 * Review 'ubifs_calc_available()' if changing this calculation.
654 */ 652 */
655 tmp64 = c->main_lebs - 2; 653 tmp64 = c->main_lebs - 2;
656 tmp64 *= (uint64_t)c->leb_size - c->dark_wm; 654 tmp64 *= (uint64_t)c->leb_size - c->dark_wm;