diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2018-09-13 13:58:24 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-12-09 11:42:14 -0500 |
commit | 51100d2b87cba12b09db79fa6577adccc0c2d14f (patch) | |
tree | 4f60973a683dde4cc1e0722bccfce2d22264b571 /fs/nfsd/xdr4.h | |
parent | b7342204253aaa1ce8351e0d94b43f98c8706cee (diff) | |
download | linux-51100d2b87cba12b09db79fa6577adccc0c2d14f.tar.bz2 |
NFSD generalize nfsd4_compound_state flag names
Allow for sid_flag field non-stateid use.
Signed-off-by: Andy Adamson <andros@netapp.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 2937e06f3554..0b4fe0795b72 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -46,9 +46,9 @@ #define CURRENT_STATE_ID_FLAG (1<<0) #define SAVED_STATE_ID_FLAG (1<<1) -#define SET_STATE_ID(c, f) ((c)->sid_flags |= (f)) -#define HAS_STATE_ID(c, f) ((c)->sid_flags & (f)) -#define CLEAR_STATE_ID(c, f) ((c)->sid_flags &= ~(f)) +#define SET_CSTATE_FLAG(c, f) ((c)->sid_flags |= (f)) +#define HAS_CSTATE_FLAG(c, f) ((c)->sid_flags & (f)) +#define CLEAR_CSTATE_FLAG(c, f) ((c)->sid_flags &= ~(f)) struct nfsd4_compound_state { struct svc_fh current_fh; |