From 93e31716f11cb10d21f6fc59e8cdb6baed50865d Mon Sep 17 00:00:00 2001 From: Purna Pavan Chandra Aekkaladevi Date: Fri, 18 Oct 2019 12:22:13 +0530 Subject: barrier: structs re-alignment Re-aligned a struct and added manual padding to avoid compile time padding. Change-Id: I8c6fc67a1b635dc7d8e2522bd4fd8587c09f74e9 Updates: bz#1754448 Signed-off-by: Purna Pavan Chandra Aekkaladevi --- xlators/features/barrier/src/barrier.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/features') diff --git a/xlators/features/barrier/src/barrier.h b/xlators/features/barrier/src/barrier.h index e5977084f21..1337f311f7d 100644 --- a/xlators/features/barrier/src/barrier.h +++ b/xlators/features/barrier/src/barrier.h @@ -65,11 +65,12 @@ typedef struct { gf_timer_t *timer; - gf_boolean_t barrier_enabled; gf_lock_t lock; struct list_head queue; struct timespec timeout; uint32_t queue_size; + gf_boolean_t barrier_enabled; + char _pad[3]; /* manual padding */ } barrier_priv_t; int -- cgit