From 03880f81dad9fd2a3a07c56a3cfbb994d44819b7 Mon Sep 17 00:00:00 2001 From: karthik-us Date: Thu, 5 May 2016 12:42:35 +0530 Subject: features/worm: updating function names & unwinding FOPs with op_errno - Added gf_worm prefix to some of the functions in worm-helper files so that they do not clash with other functions - Made the functions in worm.c static - Unwinding the FOPs with op_errno instead of using different unwind statements - Removed the multiple goto labels (wind & unwind) Change-Id: I3a2f114061aae4b422df54e91c4b3f702af5d0b0 BUG: 1333263 Signed-off-by: karthik-us Reviewed-on: http://review.gluster.org/14222 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Joseph Fernandes Reviewed-by: Jeff Darcy --- xlators/features/read-only/src/read-only.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/features/read-only/src/read-only.h') diff --git a/xlators/features/read-only/src/read-only.h b/xlators/features/read-only/src/read-only.h index 3178bb26715..d0263e74179 100644 --- a/xlators/features/read-only/src/read-only.h +++ b/xlators/features/read-only/src/read-only.h @@ -14,6 +14,7 @@ #include "read-only-mem-types.h" #include "xlator.h" + typedef struct { uint8_t worm : 1; uint8_t retain : 1; -- cgit