diff options
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r-- | fs/gfs2/dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index ffcfdd18d485..39c7081e4c12 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c | |||
@@ -507,7 +507,7 @@ static int gfs2_check_dirent(struct gfs2_dirent *dent, unsigned int offset, | |||
507 | goto error; | 507 | goto error; |
508 | return 0; | 508 | return 0; |
509 | error: | 509 | error: |
510 | printk(KERN_WARNING "gfs2_check_dirent: %s (%s)\n", msg, | 510 | pr_warn("gfs2_check_dirent: %s (%s)\n", msg, |
511 | first ? "first in block" : "not first in block"); | 511 | first ? "first in block" : "not first in block"); |
512 | return -EIO; | 512 | return -EIO; |
513 | } | 513 | } |
@@ -531,8 +531,8 @@ static int gfs2_dirent_offset(const void *buf) | |||
531 | } | 531 | } |
532 | return offset; | 532 | return offset; |
533 | wrong_type: | 533 | wrong_type: |
534 | printk(KERN_WARNING "gfs2_scan_dirent: wrong block type %u\n", | 534 | pr_warn("gfs2_scan_dirent: wrong block type %u\n", |
535 | be32_to_cpu(h->mh_type)); | 535 | be32_to_cpu(h->mh_type)); |
536 | return -1; | 536 | return -1; |
537 | } | 537 | } |
538 | 538 | ||
@@ -1006,7 +1006,7 @@ static int dir_split_leaf(struct inode *inode, const struct qstr *name) | |||
1006 | len = 1 << (dip->i_depth - be16_to_cpu(oleaf->lf_depth)); | 1006 | len = 1 << (dip->i_depth - be16_to_cpu(oleaf->lf_depth)); |
1007 | half_len = len >> 1; | 1007 | half_len = len >> 1; |
1008 | if (!half_len) { | 1008 | if (!half_len) { |
1009 | printk(KERN_WARNING "i_depth %u lf_depth %u index %u\n", dip->i_depth, be16_to_cpu(oleaf->lf_depth), index); | 1009 | pr_warn("i_depth %u lf_depth %u index %u\n", dip->i_depth, be16_to_cpu(oleaf->lf_depth), index); |
1010 | gfs2_consist_inode(dip); | 1010 | gfs2_consist_inode(dip); |
1011 | error = -EIO; | 1011 | error = -EIO; |
1012 | goto fail_brelse; | 1012 | goto fail_brelse; |