]> err.no Git - linux-2.6/commitdiff
[DLM] show default protocol
authorDavid Teigland <teigland@redhat.com>
Tue, 29 May 2007 13:47:51 +0000 (08:47 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:22:59 +0000 (08:22 +0100)
Display the initial value of the "protocol" config value in configfs.
The default value has always been 0 in the past anyway, so it's always
appeared to be correct.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/config.c

index 1b59fa56a5995b3fceb444e1ae953c7cd7e19f03..5069b2cb5a1f6e3fe109d148e3a7e8cd8b0930c7 100644 (file)
@@ -433,6 +433,7 @@ static struct config_group *make_cluster(struct config_group *g,
        cl->cl_toss_secs = dlm_config.ci_toss_secs;
        cl->cl_scan_secs = dlm_config.ci_scan_secs;
        cl->cl_log_debug = dlm_config.ci_log_debug;
+       cl->cl_protocol = dlm_config.ci_protocol;
        cl->cl_timewarn_cs = dlm_config.ci_timewarn_cs;
 
        space_list = &sps->ss_group;