diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2010-09-21 22:38:12 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-09-22 21:32:58 +0200 |
commit | f904be9cc77f361d37d71468b13ff3d1a1823dea (patch) | |
tree | 0c4b82a971b3240bb1f78a9428a911c450a35c08 /fs/lockd/svcproc.c | |
parent | sunrpc/cache: don't use custom hex_to_bin() converter (diff) | |
download | linux-f904be9cc77f361d37d71468b13ff3d1a1823dea.tar.xz linux-f904be9cc77f361d37d71468b13ff3d1a1823dea.zip |
lockd: Mostly remove BKL from the server
This patch removes all but one call to lock_kernel() from the server.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd/svcproc.c')
-rw-r--r-- | fs/lockd/svcproc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c index 0f2ab741ae7c..c3069f38d602 100644 --- a/fs/lockd/svcproc.c +++ b/fs/lockd/svcproc.c @@ -260,9 +260,7 @@ static void nlmsvc_callback_exit(struct rpc_task *task, void *data) static void nlmsvc_callback_release(void *data) { - lock_kernel(); nlm_release_call(data); - unlock_kernel(); } static const struct rpc_call_ops nlmsvc_callback_ops = { |