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

Commit

Permalink
Fix another (< 3.14) compilation issue.
Browse files Browse the repository at this point in the history
Summary: Fix another (< 3.14) compilation issue.

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
  • Loading branch information
Mohan Srinivasan committed Jul 4, 2014
1 parent 8cbd46b commit 21a43f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/flashcache_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ extern struct kcopyd_client *flashcache_kcp_client; /* Kcopyd client for writing
extern struct dm_io_client *flashcache_io_client; /* Client memory pool*/
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
int dm_io_async_bvec_pl(unsigned int num_regions,
struct dm_io_region *where,
int rw,
Expand All @@ -121,7 +120,6 @@ int dm_io_async_bvec_pl(unsigned int num_regions,
iorq.client = flashcache_io_client;
return dm_io(&iorq, num_regions, where, NULL);
}
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
int dm_io_async_bvec(unsigned int num_regions,
Expand Down

0 comments on commit 21a43f5

Please sign in to comment.