mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
[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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue