summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushik BV <kbudiger@redhat.com>2012-01-20 11:47:54 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-07 09:48:27 -0800
commitf4db9775655b24b9896ad697c534caec8868562d (patch)
tree1b175accbacb850a69964d94b7b2c33e74fc7313
parenta4818cef9838ed3b1a270f395b4cce9551532927 (diff)
nfs: export-dir option changed to type GF_OPTION_TYPE_PATH
Change-Id: Ica47482cfed794d6923047db859191462919d6fe BUG: 782424 Signed-off-by: Kaushik BV <kbudiger@redhat.com> Reviewed-on: http://review.gluster.com/2667 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--xlators/nfs/server/src/nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 0862f0017..d92a0e126 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -871,7 +871,7 @@ struct volume_options options[] = {
},
{ .key = {"nfs3.*.export-dir"},
- .type = GF_OPTION_TYPE_STR,
+ .type = GF_OPTION_TYPE_PATH,
.description = "By default, all subvolumes of nfs are exported as "
"individual exports. There are cases where a "
"subdirectory or subdirectories in the volume need to "