mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
NFSv4: Fix up handling of open_to_lock sequence ids
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
faf5f49c2d
commit
06735b3454
3 changed files with 49 additions and 71 deletions
|
|
@ -165,25 +165,14 @@ struct nfs_lowner {
|
|||
u32 id;
|
||||
};
|
||||
|
||||
struct nfs_open_to_lock {
|
||||
struct nfs_seqid * open_seqid;
|
||||
nfs4_stateid open_stateid;
|
||||
struct nfs_seqid * lock_seqid;
|
||||
struct nfs_lowner lock_owner;
|
||||
};
|
||||
|
||||
struct nfs_exist_lock {
|
||||
nfs4_stateid stateid;
|
||||
struct nfs_seqid * seqid;
|
||||
};
|
||||
|
||||
struct nfs_lock_opargs {
|
||||
struct nfs_seqid * lock_seqid;
|
||||
nfs4_stateid * lock_stateid;
|
||||
struct nfs_seqid * open_seqid;
|
||||
nfs4_stateid * open_stateid;
|
||||
struct nfs_lowner lock_owner;
|
||||
__u32 reclaim;
|
||||
__u32 new_lock_owner;
|
||||
union {
|
||||
struct nfs_open_to_lock *open_lock;
|
||||
struct nfs_exist_lock *exist_lock;
|
||||
} u;
|
||||
};
|
||||
|
||||
struct nfs_locku_opargs {
|
||||
|
|
|
|||
Loading…
Reference in a new issue