nfs4state.c (30813e2773659dc6929c0bf6edc2c2b5bc0c687c) | nfs4state.c (1e97b5190d9538748cbf72c20a56b2c5cbd2f61d) |
---|---|
1/* 2* Copyright (c) 2001 The Regents of the University of Michigan. 3* All rights reserved. 4* 5* Kendrick Smith <kmsmith@umich.edu> 6* Andy Adamson <kandros@umich.edu> 7* 8* Redistribution and use in source and binary forms, with or without --- 4720 unchanged lines hidden (view full) --- 4729nfsd4_set_lockstateid(struct nfsd4_compound_state *cstate, struct nfsd4_lock *lock) 4730{ 4731 put_stateid(cstate, &lock->lk_resp_stateid); 4732} 4733 4734/* 4735 * functions to consume current state id 4736 */ | 1/* 2* Copyright (c) 2001 The Regents of the University of Michigan. 3* All rights reserved. 4* 5* Kendrick Smith <kmsmith@umich.edu> 6* Andy Adamson <kandros@umich.edu> 7* 8* Redistribution and use in source and binary forms, with or without --- 4720 unchanged lines hidden (view full) --- 4729nfsd4_set_lockstateid(struct nfsd4_compound_state *cstate, struct nfsd4_lock *lock) 4730{ 4731 put_stateid(cstate, &lock->lk_resp_stateid); 4732} 4733 4734/* 4735 * functions to consume current state id 4736 */ |
4737 |
|
4737void | 4738void |
4739nfsd4_get_freestateid(struct nfsd4_compound_state *cstate, struct nfsd4_free_stateid *fsp) 4740{ 4741 get_stateid(cstate, &fsp->fr_stateid); 4742} 4743 4744void 4745nfsd4_get_setattrstateid(struct nfsd4_compound_state *cstate, struct nfsd4_setattr *setattr) 4746{ 4747 get_stateid(cstate, &setattr->sa_stateid); 4748} 4749 4750void |
|
4738nfsd4_get_closestateid(struct nfsd4_compound_state *cstate, struct nfsd4_close *close) 4739{ 4740 get_stateid(cstate, &close->cl_stateid); 4741} 4742 4743void 4744nfsd4_get_lockustateid(struct nfsd4_compound_state *cstate, struct nfsd4_locku *locku) 4745{ --- 14 unchanged lines hidden --- | 4751nfsd4_get_closestateid(struct nfsd4_compound_state *cstate, struct nfsd4_close *close) 4752{ 4753 get_stateid(cstate, &close->cl_stateid); 4754} 4755 4756void 4757nfsd4_get_lockustateid(struct nfsd4_compound_state *cstate, struct nfsd4_locku *locku) 4758{ --- 14 unchanged lines hidden --- |