[pnfs] [PATCH] pnfs-mount-vers: set minorversion to 1 when creating DS
Benny Halevy
bhalevy at panasas.com
Mon May 5 04:54:43 EDT 2008
With this fix, do you believe that *-mount-vers can be folded into
the main branches?
Benny
On May. 05, 2008, 7:38 +0300, Mike Sager <sager at netapp.com> wrote:
> 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;
More information about the pNFS
mailing list