diff options
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r-- | drivers/md/dm-raid1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index 3e947655746c..4b2b40f81a1d 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c @@ -1501,8 +1501,10 @@ static int __init dm_mirror_init(void) int r; dm_raid1_wq = alloc_workqueue("dm_raid1_wq", 0, 0); - if (!dm_raid1_wq) + if (!dm_raid1_wq) { + DMERR("Failed to alloc workqueue"); return -ENOMEM; + } r = dm_register_target(&mirror_target); if (r < 0) { |