diff options
Diffstat (limited to 'include/linux/nfsd/state.h')
-rw-r--r-- | include/linux/nfsd/state.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index b38d11324189..5aadf8aa3a97 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -60,6 +60,13 @@ typedef struct { | |||
60 | #define si_stateownerid si_opaque.so_stateownerid | 60 | #define si_stateownerid si_opaque.so_stateownerid |
61 | #define si_fileid si_opaque.so_fileid | 61 | #define si_fileid si_opaque.so_fileid |
62 | 62 | ||
63 | #define STATEID_FMT "(%08x/%08x/%08x/%08x)" | ||
64 | #define STATEID_VAL(s) \ | ||
65 | (s)->si_boot, \ | ||
66 | (s)->si_stateownerid, \ | ||
67 | (s)->si_fileid, \ | ||
68 | (s)->si_generation | ||
69 | |||
63 | struct nfsd4_cb_sequence { | 70 | struct nfsd4_cb_sequence { |
64 | /* args/res */ | 71 | /* args/res */ |
65 | u32 cbs_minorversion; | 72 | u32 cbs_minorversion; |