cluster/cman/qdisk disk.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2008-01-24 00:19:59
Modified files:
cman/qdisk : disk.c
Log message:
Fix broken device size checking.
cman/qdisk/disk.c +2 -1
@@ -215,7 +215,7 @@ qdisk_open(char *name, target_info_t *disk) {int ret; -unsigned long ssz; +int ssz;/* * Open for synchronous writes to insure all writes go directly
@@ -231,6 +231,7 @@return -1 ; } + disk->d_blksz = ssz; disk->d_pagesz =sysconf (_SC_PAGESIZE);/* Check to verify that the partition is large enough.*/