summaryrefslogtreecommitdiff
path: root/fs/dlm/user.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-10-27 23:45:11 +0300
committerDavid Teigland <teigland@redhat.com>2022-11-08 21:59:41 +0300
commit08ae0547e75ec3d062b6b6b9cf4830c730df68df (patch)
tree491f1ede4c9ed6c9bd466413bcd073b84d6d58ee /fs/dlm/user.c
parentd96d0f9617793b6cd95b9b9a8fef66f69f8f6b1b (diff)
downloadlinux-08ae0547e75ec3d062b6b6b9cf4830c730df68df.tar.xz
fs: dlm: fix sock release if listen fails
This patch fixes a double sock_release() call when the listen() is called for the dlm lowcomms listen socket. The caller of dlm_listen_for_all should never care about releasing the socket if dlm_listen_for_all() fails, it's done now only once if listen() fails. Cc: stable@vger.kernel.org Fixes: 2dc6b1158c28 ("fs: dlm: introduce generic listen") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/user.c')
0 files changed, 0 insertions, 0 deletions