History

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.

David Teigland committed 11 years ago

Commit b96f4651 parent 18df8a82 files · +5 −4Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/dlm_device.h+1−1
@@ -26,7 +26,7 @@ · 25 unmodified lines
2626 /* Version of the device interface */
2727 #define DLM_DEVICE_VERSION_MAJOR 6
2828 #define DLM_DEVICE_VERSION_MINOR 0
29−#define DLM_DEVICE_VERSION_PATCH 1
29+#define DLM_DEVICE_VERSION_PATCH 2
3030
3131 /* struct passed to the lock write */
3232 struct dlm_lock_params {