diff options
author | Eric Whitney <enwlinux@gmail.com> | 2014-02-20 16:09:12 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-02-20 16:09:12 -0500 |
commit | ce140cdd9c171dc75cfdcfee2b8708c508f5daf6 (patch) | |
tree | c3521382e17b1eb4091f47a0f5306b4c1c024b25 /fs/ext4 | |
parent | dc9ddd984df5f5611c7e2149d19be5a8721c1ac5 (diff) |
ext4: silence warnings in extent status tree debugging code
Adjust the conversion specifications in a few optionally compiled debug
messages to match the return type of ext4_es_status(). Also, make a
couple of minor grammatical message edits while we're at it.
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/extents_status.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c index a900004a63e1..0a014a7194b2 100644 --- a/fs/ext4/extents_status.c +++ b/fs/ext4/extents_status.c | |||
@@ -184,7 +184,7 @@ static void ext4_es_print_tree(struct inode *inode) | |||
184 | while (node) { | 184 | while (node) { |
185 | struct extent_status *es; | 185 | struct extent_status *es; |
186 | es = rb_entry(node, struct extent_status, rb_node); | 186 | es = rb_entry(node, struct extent_status, rb_node); |
187 | printk(KERN_DEBUG " [%u/%u) %llu %llx", | 187 | printk(KERN_DEBUG " [%u/%u) %llu %x", |
188 | es->es_lblk, es->es_len, | 188 | es->es_lblk, es->es_len, |
189 | ext4_es_pblock(es), ext4_es_status(es)); | 189 | ext4_es_pblock(es), ext4_es_status(es)); |
190 | node = rb_next(node); | 190 | node = rb_next(node); |
@@ -445,8 +445,8 @@ static void ext4_es_insert_extent_ext_check(struct inode *inode, | |||
445 | pr_warn("ES insert assertion failed for " | 445 | pr_warn("ES insert assertion failed for " |
446 | "inode: %lu we can find an extent " | 446 | "inode: %lu we can find an extent " |
447 | "at block [%d/%d/%llu/%c], but we " | 447 | "at block [%d/%d/%llu/%c], but we " |
448 | "want to add an delayed/hole extent " | 448 | "want to add a delayed/hole extent " |
449 | "[%d/%d/%llu/%llx]\n", | 449 | "[%d/%d/%llu/%x]\n", |
450 | inode->i_ino, ee_block, ee_len, | 450 | inode->i_ino, ee_block, ee_len, |
451 | ee_start, ee_status ? 'u' : 'w', | 451 | ee_start, ee_status ? 'u' : 'w', |
452 | es->es_lblk, es->es_len, | 452 | es->es_lblk, es->es_len, |
@@ -486,8 +486,8 @@ static void ext4_es_insert_extent_ext_check(struct inode *inode, | |||
486 | if (!ext4_es_is_delayed(es) && !ext4_es_is_hole(es)) { | 486 | if (!ext4_es_is_delayed(es) && !ext4_es_is_hole(es)) { |
487 | pr_warn("ES insert assertion failed for inode: %lu " | 487 | pr_warn("ES insert assertion failed for inode: %lu " |
488 | "can't find an extent at block %d but we want " | 488 | "can't find an extent at block %d but we want " |
489 | "to add an written/unwritten extent " | 489 | "to add a written/unwritten extent " |
490 | "[%d/%d/%llu/%llx]\n", inode->i_ino, | 490 | "[%d/%d/%llu/%x]\n", inode->i_ino, |
491 | es->es_lblk, es->es_lblk, es->es_len, | 491 | es->es_lblk, es->es_lblk, es->es_len, |
492 | ext4_es_pblock(es), ext4_es_status(es)); | 492 | ext4_es_pblock(es), ext4_es_status(es)); |
493 | } | 493 | } |
@@ -524,7 +524,7 @@ static void ext4_es_insert_extent_ind_check(struct inode *inode, | |||
524 | */ | 524 | */ |
525 | pr_warn("ES insert assertion failed for inode: %lu " | 525 | pr_warn("ES insert assertion failed for inode: %lu " |
526 | "We can find blocks but we want to add a " | 526 | "We can find blocks but we want to add a " |
527 | "delayed/hole extent [%d/%d/%llu/%llx]\n", | 527 | "delayed/hole extent [%d/%d/%llu/%x]\n", |
528 | inode->i_ino, es->es_lblk, es->es_len, | 528 | inode->i_ino, es->es_lblk, es->es_len, |
529 | ext4_es_pblock(es), ext4_es_status(es)); | 529 | ext4_es_pblock(es), ext4_es_status(es)); |
530 | return; | 530 | return; |
@@ -554,7 +554,7 @@ static void ext4_es_insert_extent_ind_check(struct inode *inode, | |||
554 | if (ext4_es_is_written(es)) { | 554 | if (ext4_es_is_written(es)) { |
555 | pr_warn("ES insert assertion failed for inode: %lu " | 555 | pr_warn("ES insert assertion failed for inode: %lu " |
556 | "We can't find the block but we want to add " | 556 | "We can't find the block but we want to add " |
557 | "an written extent [%d/%d/%llu/%llx]\n", | 557 | "a written extent [%d/%d/%llu/%x]\n", |
558 | inode->i_ino, es->es_lblk, es->es_len, | 558 | inode->i_ino, es->es_lblk, es->es_len, |
559 | ext4_es_pblock(es), ext4_es_status(es)); | 559 | ext4_es_pblock(es), ext4_es_status(es)); |
560 | return; | 560 | return; |