[pnfs] [PATCH] pnfs-mount-vers: set minorversion to 1 when creating DS
Mike Sager
sager at netapp.com
Mon May 5 00:38:30 EDT 2008
This fixes a bug in pnfs that was introduced in commit e2e690b5
and thus should probably be squashed into that commit.
Initialize the minorversion in nfs4_pnfs_ds_create()'s server
struct so that it will get propagated to the client initialization
routines in the nfs4_set_client() call.
Signed-off-by: Mike Sager <sager at netapp.com>
---
fs/nfs/nfs4filelayoutdev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c
index aee5425..46af118 100644
--- a/fs/nfs/nfs4filelayoutdev.c
+++ b/fs/nfs/nfs4filelayoutdev.c
@@ -202,6 +202,7 @@ nfs4_pnfs_ds_create(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds)
{
struct nfs_server tmp = {
.nfs_client = NULL,
+ .minorversion = 1,
};
struct sockaddr_in sin;
struct rpc_clnt *mds_clnt = mds_srv->client;
--
1.5.3.3
More information about the pNFS
mailing list