[DLM] Remove range locks from the DLM
This patch removes support for range locking from the DLM Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
d35462b4bb
commit
3bcd3687f8
10 changed files with 13 additions and 170 deletions
|
@ -159,15 +159,6 @@
|
|||
|
||||
typedef void dlm_lockspace_t;
|
||||
|
||||
/*
|
||||
* Lock range structure
|
||||
*/
|
||||
|
||||
struct dlm_range {
|
||||
uint64_t ra_start;
|
||||
uint64_t ra_end;
|
||||
};
|
||||
|
||||
/*
|
||||
* Lock status block
|
||||
*
|
||||
|
@ -277,8 +268,7 @@ int dlm_lock(dlm_lockspace_t *lockspace,
|
|||
uint32_t parent_lkid,
|
||||
void (*lockast) (void *astarg),
|
||||
void *astarg,
|
||||
void (*bast) (void *astarg, int mode),
|
||||
struct dlm_range *range);
|
||||
void (*bast) (void *astarg, int mode));
|
||||
|
||||
/*
|
||||
* dlm_unlock
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define DLM_USER_LVB_LEN 32
|
||||
|
||||
/* Version of the device interface */
|
||||
#define DLM_DEVICE_VERSION_MAJOR 3
|
||||
#define DLM_DEVICE_VERSION_MAJOR 4
|
||||
#define DLM_DEVICE_VERSION_MINOR 0
|
||||
#define DLM_DEVICE_VERSION_PATCH 0
|
||||
|
||||
|
@ -28,7 +28,6 @@ struct dlm_lock_params {
|
|||
__u16 flags;
|
||||
__u32 lkid;
|
||||
__u32 parent;
|
||||
struct dlm_range range;
|
||||
__u8 namelen;
|
||||
void __user *castparam;
|
||||
void __user *castaddr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue