Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
flashcache
>
flashcache
> flashcache-3.1.2_dmtarget.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File flashcache-3.1.2_dmtarget.patch of Package flashcache (Revision 22)
Currently displaying revision
22
,
show latest
--- src/flashcache_conf.c.orig 2014-10-24 18:02:06.736741919 +0200 +++ src/flashcache_conf.c 2014-10-24 18:12:28.927441039 +0200 @@ -1134,7 +1134,7 @@ spin_lock_init(&dmc->ioctl_lock); spin_lock_init(&dmc->cache_pending_q_spinlock); -#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) && LINUX_VERSION_CODE != KERNEL_VERSION(3,0,101) ti->split_io = dmc->block_size; #else ti->max_io_len = dmc->block_size; @@ -1584,7 +1584,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) && LINUX_VERSION_CODE != KERNEL_VERSION(3,0,101) int flashcache_status(struct dm_target *ti, status_type_t type, unsigned int unused_status_flags,