]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/stackglue.c
ocfs2: Remove ->hangup() from stack glue operations.
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / stackglue.c
index 5f78ff4c76c72d486576fcd190851a81de9e52c3..10e149ae5e3aad289f3070714ef5b8530078acf0 100644 (file)
@@ -352,7 +352,7 @@ int ocfs2_cluster_disconnect(struct ocfs2_cluster_connection *conn,
 
        BUG_ON(conn == NULL);
 
-       ret = active_stack->sp_ops->disconnect(conn, hangup_pending);
+       ret = active_stack->sp_ops->disconnect(conn);
 
        /* XXX Should we free it anyway? */
        if (!ret) {
@@ -406,9 +406,6 @@ void ocfs2_cluster_hangup(const char *group, int grouplen)
        BUG_ON(group == NULL);
        BUG_ON(group[grouplen] != '\0');
 
-       if (active_stack->sp_ops->hangup)
-               active_stack->sp_ops->hangup(group, grouplen);
-
        ocfs2_leave_group(group);
 
        /* cluster_disconnect() was called with hangup_pending==1 */