nfsd4: split stateowners into open and lockowners
The stateowner has some fields that only make sense for openowners, and some that only make sense for lockowners, and I find it a lot clearer if those are separated out. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
@@ -646,7 +646,7 @@ nfsd4_decode_open(struct nfsd4_compoundargs *argp, struct nfsd4_open *open)
|
||||
|
||||
memset(open->op_bmval, 0, sizeof(open->op_bmval));
|
||||
open->op_iattr.ia_valid = 0;
|
||||
open->op_stateowner = NULL;
|
||||
open->op_openowner = NULL;
|
||||
|
||||
/* seqid, share_access, share_deny, clientid, ownerlen */
|
||||
READ_BUF(16 + sizeof(clientid_t));
|
||||
|
Reference in New Issue
Block a user