diff options
Diffstat (limited to 'xlators/performance/io-cache/src/ioc-inode.c')
-rw-r--r-- | xlators/performance/io-cache/src/ioc-inode.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/xlators/performance/io-cache/src/ioc-inode.c b/xlators/performance/io-cache/src/ioc-inode.c index 9ac5469f5e3..74c657fe7c3 100644 --- a/xlators/performance/io-cache/src/ioc-inode.c +++ b/xlators/performance/io-cache/src/ioc-inode.c @@ -24,17 +24,7 @@ #include "io-cache.h" -int ioc_log2_page_size; - -inline uint32_t -ioc_hashfn (void *data, int len) -{ - off_t offset; - - offset = *(off_t *) data; - - return (offset >> ioc_log2_page_size); -} +extern int ioc_log2_page_size; /* * str_to_ptr - convert a string to pointer |