summaryrefslogtreecommitdiffstats
path: root/xlators/features/read-only/src/read-only.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2018-12-02 15:35:09 +0530
committerAmar Tumballi <amarts@redhat.com>2018-12-17 17:19:00 +0000
commitc228f0c2d94c028619088c07b66f88488f7c3335 (patch)
treec312f100b984ae36ec2d4e865194743a47f44769 /xlators/features/read-only/src/read-only.h
parentbdcb2d8497d77ff28cb031ae3992eb7ea0c90486 (diff)
Don't depend on string options to be valid always
updates bz#1650403 Change-Id: Ib5a11e691599ce4bd93c1ed5aca6060592893961 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/features/read-only/src/read-only.h')
-rw-r--r--xlators/features/read-only/src/read-only.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/read-only/src/read-only.h b/xlators/features/read-only/src/read-only.h
index 7cd09d37bc8..b959d2a44fb 100644
--- a/xlators/features/read-only/src/read-only.h
+++ b/xlators/features/read-only/src/read-only.h
@@ -29,7 +29,7 @@ typedef struct {
gf_boolean_t worm_files_deletable;
uint64_t reten_period;
uint64_t com_period;
- char *reten_mode;
+ int reten_mode;
time_t start_time;
} read_only_priv_t;