Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
flashcache
>
flashcache
> flashcache-2.1_dmtarget.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File flashcache-2.1_dmtarget.patch of Package flashcache
--- src/flashcache_conf.c.orig 2013-09-01 12:07:24.619161039 +0200 +++ src/flashcache_conf.c 2013-09-01 12:09:26.362730838 +0200 @@ -1088,7 +1088,7 @@ dmc->sync_index = 0; dmc->clean_inprog = 0; -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,6,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,6,0) && LINUX_VERSION_CODE != KERNEL_VERSION(3,0,82) ti->split_io = dmc->block_size; #else ti->max_io_len = dmc->block_size; @@ -1519,7 +1519,7 @@ flashcache_status(struct dm_target *ti, status_type_t type, unsigned int unused_status_flags, char *result, unsigned int maxlen) -#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) && LINUX_VERSION_CODE != KERNEL_VERSION(3,0,82) int flashcache_status(struct dm_target *ti, status_type_t type, unsigned int unused_status_flags,