]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/hfsplus/wrapper.c
hfs/hfsplus: convert printks to pr_<level>
[mirror_ubuntu-bionic-kernel.git] / fs / hfsplus / wrapper.c
index 90effcccca9af4c13f6b44b7b3fe756612f9d735..b51a6079108d1d4fa4a696b222a63c6634b0a36c 100644 (file)
@@ -156,7 +156,7 @@ static int hfsplus_get_last_session(struct super_block *sb,
                        *start = (sector_t)te.cdte_addr.lba << 2;
                        return 0;
                }
-               printk(KERN_ERR "hfs: invalid session number or type of track\n");
+               pr_err("invalid session number or type of track\n");
                return -EINVAL;
        }
        ms_info.addr_format = CDROM_LBA;
@@ -234,8 +234,7 @@ reread:
 
        error = -EINVAL;
        if (sbi->s_backup_vhdr->signature != sbi->s_vhdr->signature) {
-               printk(KERN_WARNING
-                       "hfs: invalid secondary volume header\n");
+               pr_warn("invalid secondary volume header\n");
                goto out_free_backup_vhdr;
        }
 
@@ -259,8 +258,7 @@ reread:
                blocksize >>= 1;
 
        if (sb_set_blocksize(sb, blocksize) != blocksize) {
-               printk(KERN_ERR "hfs: unable to set blocksize to %u!\n",
-                       blocksize);
+               pr_err("unable to set blocksize to %u!\n", blocksize);
                goto out_free_backup_vhdr;
        }