From 94a2118801138db92dda0cf74691fea95d7f9d12 Mon Sep 17 00:00:00 2001 From: Gaurav Date: Mon, 28 Mar 2011 04:30:28 +0000 Subject: NFS : Volume access option accepts only valid values. Signed-off-by: Gaurav Signed-off-by: Vijay Bellur BUG: 2598 (Volume access option suceeds with any string value) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2598 --- xlators/nfs/server/src/nfs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/nfs') diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index 150fa239f..081414607 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -749,6 +749,7 @@ struct volume_options options[] = { }, { .key = {"nfs3.*.volume-access"}, .type = GF_OPTION_TYPE_STR, + .value = {"read-only", "read-write"}, .description = "Type of access desired for this subvolume: " " read-only, read-write(default)" }, -- cgit