1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Keep page_size as signed number

Since it's return value from sysconf and is checked for <0.
This commit is contained in:
Zdenek Kabelac 2012-02-08 11:34:46 +00:00
parent 84fd8ea4bd
commit 3a8b6a9948
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.91 -
===================================
Use signed long for sysconf() call in cmirrord.
Do not write in front of log buffer in print_log().
Add boundary test for number of mirror devs and logs.
Check that whole locking_dir fits _lock_dir buffer in init_file_locking().

View File

@ -375,7 +375,7 @@ static int _clog_ctr(char *uuid, uint64_t luid,
int disk_log = 0;
char disk_path[128];
int unlink_path = 0;
size_t page_size;
long page_size;
int pages;
/* If core log request, then argv[0] will be region_size */