From 4f3c680ed8350496e18de127064be816388dafdd Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Tue, 17 Oct 2017 10:57:13 +0530 Subject: worm/read-only: Add sentinel NULL key to options BUG: 1193929 Change-Id: Ibfee382362826556e2e760f9b946c83445d6a08e Signed-off-by: Prashanth Pai --- xlators/features/read-only/src/read-only.c | 2 ++ xlators/features/read-only/src/worm.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'xlators') 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} + }, }; -- cgit