diff options
| -rw-r--r-- | fs/ubifs/scan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/scan.c b/fs/ubifs/scan.c index 07a49258ccfe..019ca47a1f8e 100644 --- a/fs/ubifs/scan.c +++ b/fs/ubifs/scan.c | |||
| @@ -75,7 +75,7 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, | |||
| 75 | magic = le32_to_cpu(ch->magic); | 75 | magic = le32_to_cpu(ch->magic); |
| 76 | 76 | ||
| 77 | if (magic == 0xFFFFFFFF) { | 77 | if (magic == 0xFFFFFFFF) { |
| 78 | dbg_scan("hit empty space"); | 78 | dbg_scan("hit empty space at LEB %d:%d", lnum, offs); |
| 79 | return SCANNED_EMPTY_SPACE; | 79 | return SCANNED_EMPTY_SPACE; |
| 80 | } | 80 | } |
| 81 | 81 | ||
| @@ -85,7 +85,7 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, | |||
| 85 | if (len < UBIFS_CH_SZ) | 85 | if (len < UBIFS_CH_SZ) |
| 86 | return SCANNED_GARBAGE; | 86 | return SCANNED_GARBAGE; |
| 87 | 87 | ||
| 88 | dbg_scan("scanning %s", dbg_ntype(ch->node_type)); | 88 | dbg_scan("scanning %s at LEB %d:%d", dbg_ntype(ch->node_type), lnum, offs); |
| 89 | 89 | ||
| 90 | if (ubifs_check_node(c, buf, lnum, offs, quiet, 1)) | 90 | if (ubifs_check_node(c, buf, lnum, offs, quiet, 1)) |
| 91 | return SCANNED_A_CORRUPT_NODE; | 91 | return SCANNED_A_CORRUPT_NODE; |
| @@ -114,8 +114,8 @@ int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, | |||
| 114 | return SCANNED_A_BAD_PAD_NODE; | 114 | return SCANNED_A_BAD_PAD_NODE; |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | dbg_scan("%d bytes padded, offset now %d", | 117 | dbg_scan("%d bytes padded at LEB %d:%d, offset now %d", pad_len, |
| 118 | pad_len, ALIGN(offs + node_len + pad_len, 8)); | 118 | lnum, offs, ALIGN(offs + node_len + pad_len, 8)); |
| 119 | 119 | ||
| 120 | return node_len + pad_len; | 120 | return node_len + pad_len; |
| 121 | } | 121 | } |
