diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-24 14:19:16 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-09-27 00:29:26 +0400 |
commit | 2faf3b43507556bd80e5274270db1fce1408f4ff (patch) | |
tree | 87f1916a7363c2462caf8a7f7449eb2cd1d9eaef /fs/nfsd/state.h | |
parent | 341b51df1fef0a39d792fb1c7d7856cf142627ab (diff) | |
download | linux-2faf3b43507556bd80e5274270db1fce1408f4ff.tar.xz |
nfsd: remove nfsd4_callback.cb_op
We can always get at the private data by using container_of, no need for
a void pointer. Also introduce a little to_delegation helper to avoid
opencoding the container_of everywhere.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 62a82ab06cf1..57d2db63a1ed 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -62,7 +62,6 @@ typedef struct { (s)->si_generation struct nfsd4_callback { - void *cb_op; struct nfs4_client *cb_clp; struct list_head cb_per_client; u32 cb_minorversion; |