aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lock.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2017-10-09 09:29:31 -0500
committerDavid Teigland <teigland@redhat.com>2017-10-09 09:29:31 -0500
commit9250e523592a8ced3ecd14abe29fbb1e036bd7eb (patch)
tree79b4675d8c600a755fac468415fea6e62d76f1ca /fs/dlm/lock.c
parent9e1b0211c5dd4acbd21a8ec1b86fc38a497a4656 (diff)
downloadlinux-9250e523592a8ced3ecd14abe29fbb1e036bd7eb.tar.gz
dlm: remove dlm_send_rcom_lookup_dump
This function was only for debugging. It would be called in a condition that should not happen, and should probably have been removed from the final version of the original commit. Remove it because it does mutex lock under spin lock. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lock.c')
-rw-r--r--fs/dlm/lock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index f145a2a9d6cb5..cc91963683ded 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -1003,7 +1003,6 @@ int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, char *name, int len,
if (r->res_master_nodeid == our_nodeid) {
log_error(ls, "from_master %d our_master", from_nodeid);
dlm_dump_rsb(r);
- dlm_send_rcom_lookup_dump(r, from_nodeid);
goto out_found;
}