diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/dlm/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/dlm/main.c b/fs/dlm/main.c index cb15db8ba9bf..4887c8a05318 100644 --- a/fs/dlm/main.c +++ b/fs/dlm/main.c @@ -53,8 +53,10 @@ static int __init init_dlm(void) goto out_user; dlm_wq = alloc_workqueue("dlm_wq", 0, 0); - if (!dlm_wq) + if (!dlm_wq) { + error = -ENOMEM; goto out_plock; + } printk("DLM installed\n"); |