Patchwork [BUG:1972,1/2] nfs: Fix volume-id option declaration

login
register
Submitter Shehjar Tikoo
Date 2010-10-21 09:36:48
Message ID <1287653809-20522-1-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/5546/
State Accepted
Headers show

Comments

Shehjar Tikoo - 2010-10-21 09:36:48
From: Shehjar Tikoo <shehjart@gluster.com>


Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
---
 xlators/nfs/server/src/nfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 2625613..0afd85f 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -794,7 +794,7 @@  struct volume_options options[] = {
                          " scheme for encoding file handles when DVM is being"
                          " used."
         },
-        { .key  = {"nfs3.%s.volume-id"},
+        { .key  = {"nfs3.*.volume-id"},
           .type = GF_OPTION_TYPE_STR,
           .description = "When nfs.dynamic-volumes is set, gnfs expects every "
                          "subvolume to have this option set for it, so that "