summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
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 /xlators/nfs
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>
Diffstat (limited to 'xlators/nfs')
-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 0862f0017f9..d92a0e126e6 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 "