diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-16 10:31:56 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-16 14:18:58 -0400 |
commit | e8051c837bd96ad1eabdd46504363431dc5fddc5 (patch) | |
tree | 584c66429b59927279f7d5d9601fbedb5ede5213 /fs/nfsd/state.h | |
parent | d5d5c304b13bc3cade13b8a1b5833c8b3a0975f1 (diff) | |
download | op-kernel-dev-e8051c837bd96ad1eabdd46504363431dc5fddc5.zip op-kernel-dev-e8051c837bd96ad1eabdd46504363431dc5fddc5.tar.gz |
nfsd: eliminate nfsd4_init_callback
It's just an obfuscated INIT_WORK call. Just make the work_func_t a
non-static symbol and use a normal INIT_WORK call.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 015b972..2085714 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -436,7 +436,7 @@ extern struct nfs4_client_reclaim *nfsd4_find_reclaim_client(const char *recdir, extern __be32 nfs4_check_open_reclaim(clientid_t *clid, struct nfsd4_compound_state *cstate, struct nfsd_net *nn); extern int set_callback_cred(void); -extern void nfsd4_init_callback(struct nfsd4_callback *); +void nfsd4_do_callback_rpc(struct work_struct *w); extern void nfsd4_probe_callback(struct nfs4_client *clp); extern void nfsd4_probe_callback_sync(struct nfs4_client *clp); extern void nfsd4_change_callback(struct nfs4_client *clp, struct nfs4_cb_conn *); |