summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svcproc.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2010-09-21 16:38:12 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-09-22 15:32:58 -0400
commitf904be9cc77f361d37d71468b13ff3d1a1823dea (patch)
tree0c4b82a971b3240bb1f78a9428a911c450a35c08 /fs/lockd/svcproc.c
parente7f483eabea8ef6d2b5ce1b74c8184cc06819f15 (diff)
downloadop-kernel-dev-f904be9cc77f361d37d71468b13ff3d1a1823dea.zip
op-kernel-dev-f904be9cc77f361d37d71468b13ff3d1a1823dea.tar.gz
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
index 0f2ab74..c3069f3 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 = {
OpenPOWER on IntegriCloud