Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
sanlock
sanlock-old_blkid.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sanlock-old_blkid.patch of Package sanlock
Index: src/diskio.c =================================================================== --- src/diskio.c.orig +++ src/diskio.c @@ -33,6 +33,7 @@ static int set_disk_properties(struct sync_disk *disk) { +#ifdef BLKID_VERSION blkid_probe probe; blkid_topology topo; uint32_t sector_size, ss_logical, ss_physical; @@ -62,7 +63,10 @@ static int set_disk_properties(struct sy ss_physical, disk->path); return -1; } - +#else + /* HACK, should really read this from sysfs */ + uint32_t sector_size = 512; +#endif disk->sector_size = sector_size; return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor