• Joel Becker's avatar
    ocfs2_dlmfs: Enable the use of user cluster stacks. · cbe0e331
    Joel Becker authored
    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: default avatarJoel Becker <joel.becker@oracle.com>
    cbe0e331
dlmfs.c 16.8 KB