diff options
Diffstat (limited to 'fs/reiserfs/lbalance.c')
-rw-r--r-- | fs/reiserfs/lbalance.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/reiserfs/lbalance.c b/fs/reiserfs/lbalance.c index 67f1d1de213d..21a171ceba1d 100644 --- a/fs/reiserfs/lbalance.c +++ b/fs/reiserfs/lbalance.c | |||
@@ -1291,17 +1291,17 @@ void leaf_paste_entries(struct buffer_info *bi, | |||
1291 | prev = (i != 0) ? deh_location(&(deh[i - 1])) : 0; | 1291 | prev = (i != 0) ? deh_location(&(deh[i - 1])) : 0; |
1292 | 1292 | ||
1293 | if (prev && prev <= deh_location(&(deh[i]))) | 1293 | if (prev && prev <= deh_location(&(deh[i]))) |
1294 | reiserfs_warning(NULL, "vs-10240", | 1294 | reiserfs_error(sb_from_bi(bi), "vs-10240", |
1295 | "directory item (%h) " | 1295 | "directory item (%h) " |
1296 | "corrupted (prev %a, " | 1296 | "corrupted (prev %a, " |
1297 | "cur(%d) %a)", | 1297 | "cur(%d) %a)", |
1298 | ih, deh + i - 1, i, deh + i); | 1298 | ih, deh + i - 1, i, deh + i); |
1299 | if (next && next >= deh_location(&(deh[i]))) | 1299 | if (next && next >= deh_location(&(deh[i]))) |
1300 | reiserfs_warning(NULL, "vs-10250", | 1300 | reiserfs_error(sb_from_bi(bi), "vs-10250", |
1301 | "directory item (%h) " | 1301 | "directory item (%h) " |
1302 | "corrupted (cur(%d) %a, " | 1302 | "corrupted (cur(%d) %a, " |
1303 | "next %a)", | 1303 | "next %a)", |
1304 | ih, i, deh + i, deh + i + 1); | 1304 | ih, i, deh + i, deh + i + 1); |
1305 | } | 1305 | } |
1306 | } | 1306 | } |
1307 | #endif | 1307 | #endif |