if (bh != NULL)
return bh->b_data;
else {
- pr_warn("hpfs_map_sector: read error\n");
+ pr_err("%s(): read error\n", __func__);
return NULL;
}
}
set_buffer_uptodate(bh);
return bh->b_data;
} else {
- pr_warn("hpfs_get_sector: getblk failed\n");
+ pr_err("%s(): getblk failed\n", __func__);
return NULL;
}
}
cond_resched();
if (secno & 3) {
- pr_warn("hpfs_map_4sectors: unaligned read\n");
+ pr_err("%s(): unaligned read\n", __func__);
return NULL;
}
qbh->data = data = kmalloc(2048, GFP_NOFS);
if (!data) {
- pr_warn("hpfs_map_4sectors: out of memory\n");
+ pr_err("%s(): out of memory\n", __func__);
goto bail4;
}
hpfs_lock_assert(s);
if (secno & 3) {
- pr_warn("hpfs_get_4sectors: unaligned read\n");
+ pr_err("%s(): unaligned read\n", __func__);
return NULL;
}
}
if (!(qbh->data = kmalloc(2048, GFP_NOFS))) {
- pr_warn("hpfs_get_4sectors: out of memory\n");
+ pr_err("%s(): out of memory\n", __func__);
goto bail4;
}
return qbh->data;