diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2015-12-30 13:23:33 +0530 |
---|---|---|
committer | Raghavendra Talur <rtalur@redhat.com> | 2015-12-31 02:33:10 -0800 |
commit | 96f4ec28a80c013b71aa723efaa5810d2eacdd7f (patch) | |
tree | 4609bef085cffc0941521ba04ef798fe90cf658a /xlators/performance/write-behind/src | |
parent | e34935e83c1e2fdc20bfe826531bb61276a41de8 (diff) |
wb: remove inline keyword
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 <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/13113
Diffstat (limited to 'xlators/performance/write-behind/src')
-rw-r--r-- | xlators/performance/write-behind/src/write-behind.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |