aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-08-25 12:51:44 -0500
committerDavid Teigland <teigland@redhat.com>2015-08-25 14:41:50 -0500
commitb96f465035f9fae83c1d8de3e80eecfe6877608c (patch)
tree75659c1ba50859bf0b5537972f94f439f2d0867e /fs/dlm/lowcomms.c
parentdlm: sctp_accept_from_sock() can be static (diff)
downloadlinux-dev-b96f465035f9fae83c1d8de3e80eecfe6877608c.tar.xz
linux-dev-b96f465035f9fae83c1d8de3e80eecfe6877608c.zip
dlm: fix lvb copy for user locks
For a userland lock request, the previous and current lock modes are used to decide when the lvb should be copied back to the user. The wrong previous value was used, so that it always matched the current value. This caused the lvb to be copied back to the user in the wrong cases. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lowcomms.c')
0 files changed, 0 insertions, 0 deletions