NFS: hard-code init_net for NFS callback transports
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 1 Jun 2012 09:55:47 +0000 (13:55 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 14 Jun 2012 17:53:43 +0000 (13:53 -0400)
commit12918b10d59e975fd5241eef03ef9e6d5ea3dcfe
treee12f1810b6c4f576c5c76470bd3ab5c9bcb4cc74
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
NFS: hard-code init_net for NFS callback transports

In case of destroying mount namespace on child reaper exit, nsproxy is zeroed
to the point already. So, dereferencing of it is invalid.
This patch hard-code "init_net" for all network namespace references for NFS
callback services. This will be fixed with proper NFS callback
containerization.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/callback.c