OSDN Git Service

nfsd: disable usermode helper client tracker in container
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 1 Feb 2013 12:56:22 +0000 (15:56 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Feb 2013 16:21:01 +0000 (11:21 -0500)
commit71a50306934f416e74ba27cbfb88855c22251525
tree000d60ccbb372d865fb1df5af2bc05cc8d8e4c79
parent96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5
nfsd: disable usermode helper client tracker in container

This tracker uses khelper kthread to execute binaries.
Execution itself is done from kthread context - i.e. global root is used.
This is not suitable for containers with own root.
So, disable this tracker for a while.

Note: one of possible solutions can be pass "init" callback to khelper, which
will swap root to desired one.

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