diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-03-29 18:54:33 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-04-12 01:55:06 +0400 |
commit | e3f70eadb7dddfb5a2bb9afff7abfc6ee17a29d0 (patch) | |
tree | 688a94f2c86e0d7c637609239925f94f8ee08626 /fs/nfsd/nfsctl.c | |
parent | f890edbbeff6928b7db0c6179a9036cbd4f0efbf (diff) | |
download | linux-e3f70eadb7dddfb5a2bb9afff7abfc6ee17a29d0.tar.xz |
Lockd: pass network namespace to creation and destruction routines
v2: dereference of most probably already released nlm_host removed in
nlmclnt_done() and reclaimer().
These routines are called from locks reclaimer() kernel thread. This thread
works in "init_net" network context and currently relays on persence on lockd
thread and it's per-net resources. Thus lockd_up() and lockd_down() can't relay
on current network context. So let's pass corrent one into them.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
0 files changed, 0 insertions, 0 deletions