Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
compcache
compcache-2.6.31-build-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compcache-2.6.31-build-fix.diff of Package compcache
--- ramzswap.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/ramzswap.c +++ b/ramzswap.c @@ -896,7 +896,11 @@ #ifdef SWAP_DISCARD_SUPPORTED blk_queue_set_discard(rzs.disk->queue, ramzswap_prepare_discard); #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31) + blk_queue_logical_block_size(rzs.disk->queue, PAGE_SIZE); +#else blk_queue_hardsect_size(rzs.disk->queue, PAGE_SIZE); +#endif add_disk(rzs.disk); rzs.mem_pool = xv_create_pool();
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