diff options
author | David Teigland <teigland@redhat.com> | 2015-08-25 20:51:44 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-08-25 22:41:50 +0300 |
commit | b96f465035f9fae83c1d8de3e80eecfe6877608c (patch) | |
tree | 75659c1ba50859bf0b5537972f94f439f2d0867e /include/uapi/linux/dlm_device.h | |
parent | 18df8a87badac0ab05679df9bd44b5033e30d97c (diff) | |
download | linux-b96f465035f9fae83c1d8de3e80eecfe6877608c.tar.xz |
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 'include/uapi/linux/dlm_device.h')
-rw-r--r-- | include/uapi/linux/dlm_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/dlm_device.h b/include/uapi/linux/dlm_device.h index 3060783c4191..df56c8ff0769 100644 --- a/include/uapi/linux/dlm_device.h +++ b/include/uapi/linux/dlm_device.h @@ -26,7 +26,7 @@ /* Version of the device interface */ #define DLM_DEVICE_VERSION_MAJOR 6 #define DLM_DEVICE_VERSION_MINOR 0 -#define DLM_DEVICE_VERSION_PATCH 1 +#define DLM_DEVICE_VERSION_PATCH 2 /* struct passed to the lock write */ struct dlm_lock_params { |