diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2014-03-27 14:10:55 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-07-10 18:35:05 +0200 |
commit | f88c5d90ccca70841af88ba9456ba4aac6d10da8 (patch) | |
tree | a5965801cc1fbdd97d797c7e9b3d9145275af19d /drivers/block/drbd/drbd_int.h | |
parent | drbd: clear CRASHED_PRIMARY only after successful resync (diff) | |
download | linux-f88c5d90ccca70841af88ba9456ba4aac6d10da8.tar.xz linux-f88c5d90ccca70841af88ba9456ba4aac6d10da8.zip |
drbd: cosmetic: change all printk(level, ...) to pr_<level>(...)
Cosmetic change only.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index b0ab358c39e6..c88d6c6be70b 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1467,9 +1467,7 @@ static inline void drbd_generic_make_request(struct drbd_device *device, { __release(local); if (!bio->bi_bdev) { - printk(KERN_ERR "drbd%d: drbd_generic_make_request: " - "bio->bi_bdev == NULL\n", - device_to_minor(device)); + drbd_err(device, "drbd_generic_make_request: bio->bi_bdev == NULL\n"); bio_endio(bio, -ENODEV); return; } |