aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2013-12-04 01:31:49 +0900
committerDaniel Phillips <daniel@tux3.org>2013-12-04 01:31:49 +0900
commitecbf36f4028a510a1ecc0392f1cd142967132431 (patch)
tree5621cfd07258dd9b673f08e4befed1455ed7da30
parentb5f332319702f22f5d83e00c9ad007522dab3f71 (diff)
downloadlinux-tux3-ecbf36f4028a510a1ecc0392f1cd142967132431.tar.gz
tux3: More verbose if -ENOSPC error
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-rw-r--r--fs/tux3/balloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/tux3/balloc.c b/fs/tux3/balloc.c
index f2602fbe5e80f5..4aadf1cb9bebc4 100644
--- a/fs/tux3/balloc.c
+++ b/fs/tux3/balloc.c
@@ -422,7 +422,8 @@ static int __balloc(struct sb *sb, unsigned blocks, unsigned flags,
seg, segs);
if (err == -ENOSPC) {
/* FIXME: This is for debugging. Remove this */
- tux3_warn(sb, "couldn't balloc: blocks %u", blocks);
+ tux3_warn(sb, "couldn't balloc: blocks %u, freeblocks %Lu",
+ blocks, sb->freeblocks);
}
return err;