diff options
author | ShyamsundarR <srangana@redhat.com> | 2018-07-25 16:45:54 -0400 |
---|---|---|
committer | ShyamsundarR <srangana@redhat.com> | 2018-07-25 16:47:43 -0400 |
commit | 4913f372fc486065a0fc4eeb53f5730aa9980cdf (patch) | |
tree | 688277deffaa05b1a28b4c275a975801945370cb /xlators/features | |
parent | 48d0fdaa2b92008c6e907aee9e5382c0bcc3e1c5 (diff) |
sdfs: Fix missing NULL option list tremination
Option list for volume_options in sdfs was not NULL
terminated. This resulted in a crash when running in
lcov based builds.
This is rectified by this patch.
fixes: bz#1608566
Change-Id: I5d8730f1ae963ed6adf21d970e4921c5d5d92f62
Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/sdfs/src/sdfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/sdfs/src/sdfs.c b/xlators/features/sdfs/src/sdfs.c index 8f46da3f740..5ddbe78250f 100644 --- a/xlators/features/sdfs/src/sdfs.c +++ b/xlators/features/sdfs/src/sdfs.c @@ -1520,4 +1520,5 @@ struct volume_options options[] = { .tags = {"sdfs"}, .description = "Enable/Disable dentry serialize functionality" }, + { .key = {NULL} }, }; |