diff options
author | David Teigland <teigland@redhat.com> | 2017-10-09 16:29:31 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-10-09 16:29:31 +0200 |
commit | 9250e523592a8ced3ecd14abe29fbb1e036bd7eb (patch) | |
tree | 79b4675d8c600a755fac468415fea6e62d76f1ca /fs/dlm/lock.c | |
parent | dlm: recheck kthread_should_stop() before schedule() (diff) | |
download | linux-9250e523592a8ced3ecd14abe29fbb1e036bd7eb.tar.xz linux-9250e523592a8ced3ecd14abe29fbb1e036bd7eb.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index f145a2a9d6cb..cc91963683de 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; } |