diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2010-09-21 16:38:12 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-09-22 15:32:58 -0400 |
commit | f904be9cc77f361d37d71468b13ff3d1a1823dea (patch) | |
tree | 0c4b82a971b3240bb1f78a9428a911c450a35c08 /fs/lockd/svc4proc.c | |
parent | e7f483eabea8ef6d2b5ce1b74c8184cc06819f15 (diff) | |
download | linux-f904be9cc77f361d37d71468b13ff3d1a1823dea.tar.gz linux-f904be9cc77f361d37d71468b13ff3d1a1823dea.tar.bz2 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/svc4proc.c')
-rw-r--r-- | fs/lockd/svc4proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c index 031c6569a134..a336e832475d 100644 --- a/fs/lockd/svc4proc.c +++ b/fs/lockd/svc4proc.c @@ -230,9 +230,7 @@ static void nlm4svc_callback_exit(struct rpc_task *task, void *data) static void nlm4svc_callback_release(void *data) { - lock_kernel(); nlm_release_call(data); - unlock_kernel(); } static const struct rpc_call_ops nlm4svc_callback_ops = { |