diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 18:22:07 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 07:40:50 -0500 |
commit | 3320fef19b542b8df9606bd8e63990dc2a3fb330 (patch) | |
tree | fe68d7d40178040eb8691fffb711d7c413a6ce9e /fs/nfsd/state.h | |
parent | 73758fed711b847d833b9b0db59137eaeed06485 (diff) | |
download | talos-obmc-linux-3320fef19b542b8df9606bd8e63990dc2a3fb330.tar.gz talos-obmc-linux-3320fef19b542b8df9606bd8e63990dc2a3fb330.zip |
nfsd: use service net instead of hard-coded init_net
This patch replaces init_net by SVC_NET(), where possible and also passes
proper context to nested functions where required.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
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 26a912cdfe0c..bfe0106333cc 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -470,7 +470,7 @@ void nfs4_remove_reclaim_record(struct nfs4_client_reclaim *, struct nfsd_net *) extern void nfs4_release_reclaim(struct nfsd_net *); extern struct nfs4_client_reclaim *nfsd4_find_reclaim_client(const char *recdir, struct nfsd_net *nn); -extern __be32 nfs4_check_open_reclaim(clientid_t *clid, bool sessions); +extern __be32 nfs4_check_open_reclaim(clientid_t *clid, bool sessions, struct nfsd_net *nn); extern void nfs4_free_openowner(struct nfs4_openowner *); extern void nfs4_free_lockowner(struct nfs4_lockowner *); extern int set_callback_cred(void); |