]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: pass ocfs2_cluster_connection to ocfs2_this_node
authorGoldwyn Rodrigues <rgoldwyn@suse.de>
Tue, 21 Jan 2014 23:48:24 +0000 (15:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Jan 2014 00:19:41 +0000 (16:19 -0800)
commitdf4530b7cca18fe17df6d588467ed74b56bcc50c
treeab6d15e41377cf38b709683890e493a3223d2303
parenta691f469866a5e6d3bf6f8303c8aa1125d870adf
ocfs2: pass ocfs2_cluster_connection to ocfs2_this_node

This is done to differentiate between using and not using controld and
use the connection information accordingly.

We need to be backward compatible.  So, we use a new enum
ocfs2_connection_type to identify when controld is used and when it is
not.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/dlmglue.c
fs/ocfs2/stack_o2cb.c
fs/ocfs2/stack_user.c
fs/ocfs2/stackglue.c
fs/ocfs2/stackglue.h