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

Commit c0eeb3d

Browse files
author
Mohan Srinivasan
committed
Merge branch 'master' of github.com:facebook/flashcache
2 parents ceb3821 + 304bbc1 commit c0eeb3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flashcache_conf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,12 +1746,12 @@ flashcache_init(void)
17461746

17471747
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
17481748
r = kcopyd_client_create(FLASHCACHE_COPY_PAGES, &flashcache_kcp_client);
1749-
#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))
1749+
#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))
17501750
flashcache_kcp_client = dm_kcopyd_client_create();
17511751
if ((r = IS_ERR(flashcache_kcp_client))) {
17521752
r = PTR_ERR(flashcache_kcp_client);
17531753
}
1754-
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
1754+
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) || (defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 1541))
17551755
flashcache_kcp_client = dm_kcopyd_client_create(NULL);
17561756
if ((r = IS_ERR(flashcache_kcp_client))) {
17571757
r = PTR_ERR(flashcache_kcp_client);

0 commit comments

Comments
 (0)