]> www.infradead.org Git - users/willy/xarray.git/commit
dlm: add missing -ENOMEM if alloc_workqueue() fails
authorAlexander Aring <aahringo@redhat.com>
Mon, 12 Aug 2024 20:14:24 +0000 (16:14 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 12 Aug 2024 20:16:18 +0000 (15:16 -0500)
commit652b0ae675fede81420758e3af7c5174cdaa8404
tree586cec30725feb62f82676e70afa65276ba7f925
parentfb1911ef6f4899eaba082bb81f301987e2e3bb86
dlm: add missing -ENOMEM if alloc_workqueue() fails

This patch sets an missing -ENOMEM as error return value when the
allocation of the dlm workqueue fails.

Fixes: 94e180d6255f ("dlm: async freeing of lockspace resources")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202408110800.OsoP8TB9-lkp@intel.com/
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/main.c