]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ocfs2/dlm/dlmmaster.c
ocfs2/dlm: clean up deadcode in dlm_master_request_handler()
[mirror_ubuntu-bionic-kernel.git] / fs / ocfs2 / dlm / dlmmaster.c
index 0487dbcd17e00d3b8aa3a9843bb2835715327cd9..a464c8088170aa3fc40267e79cc84b8bd39139a7 100644 (file)
@@ -1641,12 +1641,6 @@ send_response:
         * dlm_assert_master_worker() isn't called, we drop it here.
         */
        if (dispatch_assert) {
-               if (response != DLM_MASTER_RESP_YES)
-                       mlog(ML_ERROR, "invalid response %d\n", response);
-               if (!res) {
-                       mlog(ML_ERROR, "bad lockres while trying to assert!\n");
-                       BUG();
-               }
                mlog(0, "%u is the owner of %.*s, cleaning everyone else\n",
                             dlm->node_num, res->lockname.len, res->lockname.name);
                spin_lock(&res->spinlock);