]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit150a3b654ab67881880c09249073cdf68456fddf
treee12f1810b6c4f576c5c76470bd3ab5c9bcb4cc74
parent1140ece4e43893bef14a33125746b2aef4180b90
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