Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329049
b: refs/heads/master
c: 4b3e58a
h: refs/heads/master
i:
  329047: 3707aaf
v: v3
  • Loading branch information
Artem Bityutskiy committed Aug 23, 2012
1 parent aafafb7 commit 8b6dfb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db0f89690639ac1d5f89c0dd9713c2e83dd37281
refs/heads/master: 4b3e58a6d6c62b5457ff876fdfc79f66fff04cd2
8 changes: 4 additions & 4 deletions trunk/fs/ubifs/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum,
magic = le32_to_cpu(ch->magic);

if (magic == 0xFFFFFFFF) {
dbg_scan("hit empty space");
dbg_scan("hit empty space at LEB %d:%d", lnum, offs);
return SCANNED_EMPTY_SPACE;
}

Expand All @@ -85,7 +85,7 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum,
if (len < UBIFS_CH_SZ)
return SCANNED_GARBAGE;

dbg_scan("scanning %s", dbg_ntype(ch->node_type));
dbg_scan("scanning %s at LEB %d:%d", dbg_ntype(ch->node_type), lnum, offs);

if (ubifs_check_node(c, buf, lnum, offs, quiet, 1))
return SCANNED_A_CORRUPT_NODE;
Expand Down Expand Up @@ -114,8 +114,8 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum,
return SCANNED_A_BAD_PAD_NODE;
}

dbg_scan("%d bytes padded, offset now %d",
pad_len, ALIGN(offs + node_len + pad_len, 8));
dbg_scan("%d bytes padded at LEB %d:%d, offset now %d", pad_len,
lnum, offs, ALIGN(offs + node_len + pad_len, 8));

return node_len + pad_len;
}
Expand Down

0 comments on commit 8b6dfb0

Please sign in to comment.