ocfs2: Start the ocfs2_control handshake.
authorJoel Becker <joel.becker@oracle.com>
Tue, 19 Feb 2008 03:40:12 +0000 (19:40 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:06 +0000 (08:56 -0700)
commit462c7e6a257e547eebe1648396cf7c45e684091b
treed7785bd3a40d9ce5964b426cca6a1451bc5979a4
parent6427a727557d9c964b7b162ae11bb156e2c501d5
ocfs2: Start the ocfs2_control handshake.

When a control daemon opens the ocfs2_control device, it must perform a
handshake to tell the filesystem it is something capable of monitoring
cluster status.  Only after the handshake is complete will the filesystem
allow mounts.

This is the first part of the handshake.  The daemon reads all supported
ocfs2_control protocols, then writes in the protocol it will use.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/stack_user.c