Version 2.02.85 -
===================================
+ Use system page size and not hardcoded value in locking code check.
Fix reading of released memory for printing segment type.
Fix syslog initialisation in clvmd to respect lvm.conf setting.
Fix possible overflow in maximum stripe size and physical extent size.
dm_free(_maps_buffer);
_maps_buffer = NULL;
if (_mstats < unlock_mstats) {
- if ((_mstats + 4096) < unlock_mstats)
+ if ((_mstats + getpagesize()) < unlock_mstats)
log_error(INTERNAL_ERROR
"Maps lock %ld < unlock %ld",
(long)_mstats, (long)unlock_mstats);