ocfs2_dlmfs: Enable the use of user cluster stacks.
authorJoel Becker <joel.becker@oracle.com>
Sat, 30 Jan 2010 14:02:10 +0000 (06:02 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:18 +0000 (15:41 -0800)
Unlike ocfs2, dlmfs has no permanent storage.  It can't store off a
cluster stack it is supposed to be using.  So it can't specify the stack
name in ocfs2_cluster_connect().

Instead, we create ocfs2_cluster_connect_agnostic(), which simply uses
the stack that is currently enabled.  This is find for dlmfs, which will
rely on the stack initialization.

We add the "stackglue" capability to dlmfs's capability list.  This lets
userspace know dlmfs can be used with all cluster stacks.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlmfs/dlmfs.c
fs/ocfs2/dlmfs/userdlm.c
fs/ocfs2/ocfs2_lockingver.h
fs/ocfs2/stackglue.c
fs/ocfs2/stackglue.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge