]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - fs/ubifs/budget.c
ubi,ubifs: sync with linux v4.2
[people/ms/u-boot.git] / fs / ubifs / budget.c
index c626cbf48430101261b3fafa9c1651f263f59a9b..1b4683fc8e769c0e3585b6f111ae57ae3e529530 100644 (file)
@@ -433,7 +433,6 @@ static int calc_dd_growth(const struct ubifs_info *c,
  */
 int ubifs_budget_space(struct ubifs_info *c, struct ubifs_budget_req *req)
 {
-       int uninitialized_var(cmt_retries), uninitialized_var(wb_retries);
        int err, idx_growth, data_growth, dd_growth, retried = 0;
 
        ubifs_assert(req->new_page <= 1);
@@ -506,7 +505,7 @@ again:
                        c->bi.nospace_rp = 1;
                smp_wmb();
        } else
-               ubifs_err("cannot budget space, error %d", err);
+               ubifs_err(c, "cannot budget space, error %d", err);
        return err;
 }