]> err.no Git - linux-2.6/blobdiff - fs/dlm/lowcomms.c
Make 'cond_resched()' nullification depend on PREEMPT_BKL
[linux-2.6] / fs / dlm / lowcomms.c
index 57728448f1b9d2b6ad30061781b2081c47c89725..7c1e5e5cccd8ae97a87a618ad9818d5b35721553 100644 (file)
@@ -1437,6 +1437,8 @@ void dlm_lowcomms_stop(void)
                con = __nodeid2con(i, 0);
                if (con) {
                        close_connection(con, true);
+                       if (con->othercon)
+                               kmem_cache_free(con_cache, con->othercon);
                        kmem_cache_free(con_cache, con);
                }
        }