diff options
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.c | 8 | ||||
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c index da3f4f15da3..84b18499352 100644 --- a/xlators/performance/io-cache/src/io-cache.c +++ b/xlators/performance/io-cache/src/io-cache.c @@ -95,12 +95,12 @@ ioc_inode_need_revalidate (ioc_inode_t *ioc_inode) * * assumes lock is held */ -int32_t +int64_t __ioc_inode_flush (ioc_inode_t *ioc_inode) { ioc_page_t *curr = NULL, *next = NULL; - int32_t destroy_size = 0; - int32_t ret = 0; + int64_t destroy_size = 0; + int64_t ret = 0; list_for_each_entry_safe (curr, next, &ioc_inode->cache.page_lru, page_lru) { @@ -116,7 +116,7 @@ __ioc_inode_flush (ioc_inode_t *ioc_inode) void ioc_inode_flush (ioc_inode_t *ioc_inode) { - int32_t destroy_size = 0; + int64_t destroy_size = 0; ioc_inode_lock (ioc_inode); { diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h index 49d3d000b4f..de6cb3527ee 100644 --- a/xlators/performance/io-cache/src/io-cache.h +++ b/xlators/performance/io-cache/src/io-cache.h @@ -313,7 +313,7 @@ ioc_inode_update (ioc_table_t *table, inode_t *inode, uint32_t weight); int64_t ioc_page_destroy (ioc_page_t *page); -int32_t +int64_t __ioc_inode_flush (ioc_inode_t *ioc_inode); void |