diff options
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index e97036f32b9b..5258ac1f4cbd 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4734,6 +4734,19 @@ nfsd4_set_lockstateid(struct nfsd4_compound_state *cstate, struct nfsd4_lock *lo | |||
4734 | /* | 4734 | /* |
4735 | * functions to consume current state id | 4735 | * functions to consume current state id |
4736 | */ | 4736 | */ |
4737 | |||
4738 | void | ||
4739 | nfsd4_get_freestateid(struct nfsd4_compound_state *cstate, struct nfsd4_free_stateid *fsp) | ||
4740 | { | ||
4741 | get_stateid(cstate, &fsp->fr_stateid); | ||
4742 | } | ||
4743 | |||
4744 | void | ||
4745 | nfsd4_get_setattrstateid(struct nfsd4_compound_state *cstate, struct nfsd4_setattr *setattr) | ||
4746 | { | ||
4747 | get_stateid(cstate, &setattr->sa_stateid); | ||
4748 | } | ||
4749 | |||
4737 | void | 4750 | void |
4738 | nfsd4_get_closestateid(struct nfsd4_compound_state *cstate, struct nfsd4_close *close) | 4751 | nfsd4_get_closestateid(struct nfsd4_compound_state *cstate, struct nfsd4_close *close) |
4739 | { | 4752 | { |