cluster/dlm/lib libdlm.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: pcaulfield at sourceware.org 2007-07-05 08:08:22
Modified files:
dlm/lib : libdlm.c
Log message:
Honour the mode parameter to dlm_create_lockspace() even if the device node was created by udev.
dlm/lib/libdlm.c +2 -0
@@ -1028,6 +1028,8 @@ } newls->tid =0 ;fcntl (newls->fd,F_SETFD ,1 ); +if (mode) +fchmod (newls->fd, mode);return (dlm_lshandle_t )newls; }