961b1dff00
[ Upstream commit4d7659bfbe] Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes:2ca4c92f58("dm ioctl: prevent empty message") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>