locks: serialize lock requests
adds a critical section to nfs41_open_state. this lock is taken before generating the stateid/seqid, and released after updated stateid is saved to nfs41_open_state Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
b9775a69e9
commit
49693532a2
3 changed files with 15 additions and 2 deletions
|
|
@ -149,6 +149,7 @@ typedef struct __nfs41_open_state {
|
|||
stateid4 stateid;
|
||||
struct list_entry list;
|
||||
uint32_t counter;
|
||||
CRITICAL_SECTION lock;
|
||||
} locks;
|
||||
|
||||
HANDLE srv_open; /* for data cache invalidation */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue