]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: fix error return code in sctp_accept_from_sock()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 22 Oct 2016 14:37:36 +0000 (14:37 +0000)
committerDavid Teigland <teigland@redhat.com>
Mon, 24 Oct 2016 15:01:51 +0000 (10:01 -0500)
commitc7be13c582163736ad451ad882418b220ed4af03
tree53b1a67d2b9e4860bcc2a98e6f96fea76157c48d
parent0ae5b1c8ae558176b96de2b06f250cbe55c38587
dlm: fix error return code in sctp_accept_from_sock()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c