Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcmu: fix error return code in tcmu_configure_device()
Fix to return error code -ENOMEM from the kzalloc() error handling case instead of 0, as done elsewhere in this function. Fixes: 80eb876 ("tcmu: allow max block and global max blocks to be settable") Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Mike Christie <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
- Loading branch information