fs/coda: replace printk by pr_foo()
[firefly-linux-kernel-4.4.55.git] / fs / coda / cnode.c
index 911cf30d057d21b3e7608a0b3f5f1855dacaf584..4bb74b3d3901a943fe17579c380b7e3a1d2a1466 100644 (file)
@@ -101,7 +101,7 @@ struct inode *coda_cnode_make(struct CodaFid *fid, struct super_block *sb)
 
        inode = coda_iget(sb, fid, &attr);
        if (IS_ERR(inode))
-               printk("coda_cnode_make: coda_iget failed\n");
+               pr_warn("coda_cnode_make: coda_iget failed\n");
        return inode;
 }
 
@@ -137,7 +137,7 @@ struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb)
        unsigned long hash = coda_f2i(fid);
 
        if ( !sb ) {
-               printk("coda_fid_to_inode: no sb!\n");
+               pr_warn("coda_fid_to_inode: no sb!\n");
                return NULL;
        }