aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2014-08-14 03:49:52 +0000
committerIlya Dryomov <[email protected]>2014-09-10 07:59:06 +0000
commit255939e783d8f45f8c58487dfc18957c44ea9871 (patch)
treeb0d0c8e422e09fa79d0deb9ee2292b6e4cc3e856 /lib/assoc_array.c
parentrbd: avoid format-security warning inside alloc_workqueue() (diff)
downloadkernel-255939e783d8f45f8c58487dfc18957c44ea9871.tar.gz
kernel-255939e783d8f45f8c58487dfc18957c44ea9871.zip
rbd: fix error return code in rbd_dev_device_setup()
Fix to return -ENOMEM from the workqueue alloc error handling case instead of 0, as done elsewhere in this function. Reviewed-by: Alex Elder <[email protected]> Signed-off-by: Wei Yongjun <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions