journal.c (1bdcc63112a0fe10030abee6ad71aaecd091e68e) journal.c (7c46d0ae29ba880963db283706950de7aa86c0a0)
1/*
2 * This file is part of UBIFS.
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.

--- 371 unchanged lines hidden (view full) ---

380 goto again;
381
382out:
383 ubifs_err("cannot reserve %d bytes in jhead %d, error %d",
384 len, jhead, err);
385 if (err == -ENOSPC) {
386 /* This are some budgeting problems, print useful information */
387 down_write(&c->commit_sem);
1/*
2 * This file is part of UBIFS.
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.

--- 371 unchanged lines hidden (view full) ---

380 goto again;
381
382out:
383 ubifs_err("cannot reserve %d bytes in jhead %d, error %d",
384 len, jhead, err);
385 if (err == -ENOSPC) {
386 /* This are some budgeting problems, print useful information */
387 down_write(&c->commit_sem);
388 dbg_dump_stack();
388 dump_stack();
389 dbg_dump_budg(c, &c->bi);
390 dbg_dump_lprops(c);
391 cmt_retries = dbg_check_lprops(c);
392 up_write(&c->commit_sem);
393 }
394 return err;
395}
396

--- 1067 unchanged lines hidden ---
389 dbg_dump_budg(c, &c->bi);
390 dbg_dump_lprops(c);
391 cmt_retries = dbg_check_lprops(c);
392 up_write(&c->commit_sem);
393 }
394 return err;
395}
396

--- 1067 unchanged lines hidden ---