summaryrefslogtreecommitdiff
path: root/fs/dlm
diff options
context:
space:
mode:
authormorten petersen <morten_bp@live.dk>2019-07-08 14:41:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-31 08:27:07 +0300
commit5d59e28c3d1b94d318e3e74d4e9adb327bb116c0 (patch)
treee6b19aa49c19e4b60207740af259fe00dfec95d3 /fs/dlm
parent2140a6b03a6141d353e93632c9a20c0471062ac5 (diff)
downloadlinux-5d59e28c3d1b94d318e3e74d4e9adb327bb116c0.tar.xz
mailbox: handle failed named mailbox channel request
[ Upstream commit 25777e5784a7b417967460d4fcf9660d05a0c320 ] Previously, if mbox_request_channel_byname was used with a name which did not exist in the "mbox-names" property of a mailbox client, the mailbox corresponding to the last entry in the "mbox-names" list would be incorrectly selected. With this patch, -EINVAL is returned if the named mailbox is not found. Signed-off-by: Morten Borup Petersen <morten_bp@live.dk> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions