diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-12-16 18:12:50 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-12-18 17:22:19 +0100 |
commit | 1227561c2ffb81ab09ead21cce6438f59276aa6e (patch) | |
tree | 70797e16a621aa29a92c897d0a99e2a8bcd80311 /fs/nfsd/state.h | |
parent | NFSD: Revert 6c41d9a9bd0298002805758216a9c44e38a8500d (diff) | |
download | linux-1227561c2ffb81ab09ead21cce6438f59276aa6e.tar.xz linux-1227561c2ffb81ab09ead21cce6438f59276aa6e.zip |
NFSD: Revert 738401a9bd1ac34ccd5723d69640a4adbb1a4bc0
There's nothing wrong with this commit, but this is dead code now
that nothing triggers a CB_GETATTR callback. It can be re-introduced
once the issues with handling conflicting GETATTRs are resolved.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 0bbbe57e027d..41bdc913fa71 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -117,16 +117,6 @@ struct nfs4_cpntf_state { time64_t cpntf_time; /* last time stateid used */ }; -struct nfs4_cb_fattr { - struct nfsd4_callback ncf_getattr; - u32 ncf_cb_status; - u32 ncf_cb_bmap[1]; - - /* from CB_GETATTR reply */ - u64 ncf_cb_change; - u64 ncf_cb_fsize; -}; - /* * Represents a delegation stateid. The nfs4_client holds references to these * and they are put when it is being destroyed or when the delegation is @@ -160,9 +150,6 @@ struct nfs4_delegation { int dl_retries; struct nfsd4_callback dl_recall; bool dl_recalled; - - /* for CB_GETATTR */ - struct nfs4_cb_fattr dl_cb_fattr; }; #define cb_to_delegation(cb) \ @@ -653,7 +640,6 @@ enum nfsd4_cb_op { NFSPROC4_CLNT_CB_SEQUENCE, NFSPROC4_CLNT_CB_NOTIFY_LOCK, NFSPROC4_CLNT_CB_RECALL_ANY, - NFSPROC4_CLNT_CB_GETATTR, }; /* Returns true iff a is later than b: */ |