Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:facebook/flashcache
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohan Srinivasan committed Jan 23, 2014
2 parents ceb3821 + 304bbc1 commit c0eeb3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flashcache_conf.c
Expand Up @@ -1746,12 +1746,12 @@ flashcache_init(void)

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
r = kcopyd_client_create(FLASHCACHE_COPY_PAGES, &flashcache_kcp_client);
#elif ((LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0))) || (defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 1538))
#elif ((LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0))) || (defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 1538) && (RHEL_RELEASE_CODE <= 1540))
flashcache_kcp_client = dm_kcopyd_client_create();
if ((r = IS_ERR(flashcache_kcp_client))) {
r = PTR_ERR(flashcache_kcp_client);
}
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) || (defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 1541))
flashcache_kcp_client = dm_kcopyd_client_create(NULL);
if ((r = IS_ERR(flashcache_kcp_client))) {
r = PTR_ERR(flashcache_kcp_client);
Expand Down

0 comments on commit c0eeb3d

Please sign in to comment.