From 96f4ec28a80c013b71aa723efaa5810d2eacdd7f Mon Sep 17 00:00:00 2001 From: Raghavendra Talur Date: Wed, 30 Dec 2015 13:23:33 +0530 Subject: wb: remove inline keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When compiled with -Werror flag gcc throws the following error: ‘iov_length’ is static but used in inline function ‘__wb_modify_write_request’ which is not static. Let gcc decide what functions to inline and remove the inline keyword. Change-Id: I6d832596eefcf08306634936e11d2c8d4b8f9ccd BUG: 1279730 Signed-off-by: Raghavendra Talur Reviewed-on: http://review.gluster.org/13113 --- xlators/performance/write-behind/src/write-behind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/performance/write-behind/src/write-behind.c') diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c index 285420526f4..3fd419d1c9f 100644 --- a/xlators/performance/write-behind/src/write-behind.c +++ b/xlators/performance/write-behind/src/write-behind.c @@ -813,7 +813,7 @@ wb_fulfill_err (wb_request_t *head, int op_errno) UNLOCK (&wb_inode->lock); } -inline void +void __wb_modify_write_request (wb_request_t *req, int synced_size, int head_total_size) { -- cgit