diff options
author | Prashanth Pai <ppai@redhat.com> | 2017-10-17 10:57:13 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2017-10-17 11:26:10 +0530 |
commit | 4f3c680ed8350496e18de127064be816388dafdd (patch) | |
tree | a4d8afeb16f38dd395e89afb0bbd48e9f9087987 /xlators | |
parent | fb4b914ce84bc83a5f418719c5ba7c25689a9251 (diff) |
worm/read-only: Add sentinel NULL key to options
BUG: 1193929
Change-Id: Ibfee382362826556e2e760f9b946c83445d6a08e
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/features/read-only/src/read-only.c | 2 | ||||
-rw-r--r-- | xlators/features/read-only/src/worm.c | 2 |
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} + }, }; |