summaryrefslogtreecommitdiffstats
path: root/xlators/features/read-only
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/read-only')
-rw-r--r--xlators/features/read-only/src/read-only.c2
-rw-r--r--xlators/features/read-only/src/worm.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/read-only/src/read-only.c b/xlators/features/read-only/src/read-only.c
index 75d6d104d45..aae7d0c5989 100644
--- a/xlators/features/read-only/src/read-only.c
+++ b/xlators/features/read-only/src/read-only.c
@@ -128,4 +128,6 @@ struct volume_options options[] = {
.description = "When \"on\", makes a volume read-only. It is turned "
"\"off\" by default."
},
+ { .key = {NULL}
+ },
};
diff --git a/xlators/features/read-only/src/worm.c b/xlators/features/read-only/src/worm.c
index e4916402f8e..2e930c38ce3 100644
--- a/xlators/features/read-only/src/worm.c
+++ b/xlators/features/read-only/src/worm.c
@@ -642,4 +642,6 @@ struct volume_options options[] = {
.default_value = "180",
.description = "Auto commit period for the files."
},
+ { .key = {NULL}
+ },
};