Blame view

fs/nfsd/current_stateid.h 1.4 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
8b70484c6   Tigran Mkrtchyan   nfsd41: handle cu...
2
3
4
5
6
  #ifndef _NFSD4_CURRENT_STATE_H
  #define _NFSD4_CURRENT_STATE_H
  
  #include "state.h"
  #include "xdr4.h"
37c593c57   Tigran Mkrtchyan   nfsd41: use curre...
7
  extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
62cd4a591   Tigran Mkrtchyan   nfsd41: handle cu...
8
9
10
  /*
   * functions to set current state id
   */
b60e98598   Christoph Hellwig   nfsd4: properly t...
11
12
13
14
15
16
17
18
  extern void nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_set_openstateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_set_closestateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
8b70484c6   Tigran Mkrtchyan   nfsd41: handle cu...
19

62cd4a591   Tigran Mkrtchyan   nfsd41: handle cu...
20
21
22
  /*
   * functions to consume current state id
   */
57832e7bd   Christoph Hellwig   nfsd4: properly t...
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  extern void nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_delegreturnstateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_freestateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_setattrstateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_closestateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_readstateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
  extern void nfsd4_get_writestateid(struct nfsd4_compound_state *,
  		union nfsd4_op_u *);
62cd4a591   Tigran Mkrtchyan   nfsd41: handle cu...
39

8b70484c6   Tigran Mkrtchyan   nfsd41: handle cu...
40
  #endif   /* _NFSD4_CURRENT_STATE_H */