aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-03-05 09:06:42 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2014-03-06 12:34:06 -0500
commitfc554ed3d89d220b9d0c020e19aa52fb6bf1d673 (patch)
tree8e5ec3dcd72e3ee3754785020d262e9c8baed44d /fs/gfs2/dir.c
parentf2113eb8a4ede4016199492f3e10f5a165b04fcd (diff)
GFS2: global conversion to pr_foo()
-All printk(KERN_foo converted to pr_foo(). -Messages updated to fit in 80 columns. -fs_macros converted as well. -fs_printk removed. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r--fs/gfs2/dir.c8
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;
509error: 509error:
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;
533wrong_type: 533wrong_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;