From mboxrd@z Thu Jan 1 00:00:00 1970 From: teigland@sourceware.org Date: 20 Aug 2007 20:36:53 -0000 Subject: [Cluster-devel] cluster/dlm/tool main.c Message-ID: <20070820203653.32526.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: teigland at sourceware.org 2007-08-20 20:36:53 Modified files: dlm/tool : main.c Log message: the -m mode option was being ignored and 0600 always used (this change must have been lost at the same time as the -d option) Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/main.c.diff?cvsroot=cluster&r1=1.6&r2=1.7 --- cluster/dlm/tool/main.c 2007/08/20 20:31:01 1.6 +++ cluster/dlm/tool/main.c 2007/08/20 20:36:53 1.7 @@ -203,7 +203,7 @@ if (!opt_dir) flags = DLM_LSFL_NODIR; - dh = dlm_new_lockspace(name, 0600, flags); + dh = dlm_new_lockspace(name, create_mode, flags); if (!dh) { fprintf(stderr, "dlm_new_lockspace %s error %p %d\n", name, dh, errno);