summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPurna Pavan Chandra Aekkaladevi <paekkala@redhat.com>2019-10-18 12:22:13 +0530
committerAmar Tumballi <amarts@gmail.com>2019-11-06 13:06:07 +0000
commit93e31716f11cb10d21f6fc59e8cdb6baed50865d (patch)
tree0ee22c9b651b9c8085359ba2ebe0e141dbf22194 /xlators
parent28199dc009869858bcea108f116ce10c06358e03 (diff)
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 <paekkala@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/barrier/src/barrier.h3
1 files changed, 2 insertions, 1 deletions
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