nfsd: use service net instead of hard-coded init_net
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 14 Nov 2012 15:22:07 +0000 (18:22 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 15 Nov 2012 12:40:50 +0000 (07:40 -0500)
commit3320fef19b542b8df9606bd8e63990dc2a3fb330
treefe68d7d40178040eb8691fffb711d7c413a6ce9e
parent73758fed711b847d833b9b0db59137eaeed06485
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>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h
fs/nfsd/xdr4.h