diff options
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 24eae5c11820..e97036f32b9b 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4745,3 +4745,15 @@ nfsd4_get_lockustateid(struct nfsd4_compound_state *cstate, struct nfsd4_locku * | |||
4745 | { | 4745 | { |
4746 | get_stateid(cstate, &locku->lu_stateid); | 4746 | get_stateid(cstate, &locku->lu_stateid); |
4747 | } | 4747 | } |
4748 | |||
4749 | void | ||
4750 | nfsd4_get_readstateid(struct nfsd4_compound_state *cstate, struct nfsd4_read *read) | ||
4751 | { | ||
4752 | get_stateid(cstate, &read->rd_stateid); | ||
4753 | } | ||
4754 | |||
4755 | void | ||
4756 | nfsd4_get_writestateid(struct nfsd4_compound_state *cstate, struct nfsd4_write *write) | ||
4757 | { | ||
4758 | get_stateid(cstate, &write->wr_stateid); | ||
4759 | } | ||