[pnfs] [PATCH 03/23] 2.6-latest pnfs client nfs41_validate_seq_args change
William A. (Andy) Adamson
andros at citi.umich.edu
Thu Dec 27 16:14:52 EST 2007
On 12/23/07, Benny Halevy <bhalevy at panasas.com> wrote:
>
> <snip>
> > diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c
> > index 69f839d..c3db428 100644
> > --- a/fs/nfs/nfs4filelayout.c
> > +++ b/fs/nfs/nfs4filelayout.c
> > @@ -71,6 +71,8 @@ extern struct nfs_write_data *nfs_commit_alloc(void);
> > extern void nfs_commit_free(struct nfs_write_data *p);
> > extern void nfs_initiate_write(struct nfs_write_data *, struct rpc_clnt
> *, const struct rpc_call_ops *, int);
> > extern void nfs_initiate_read(struct nfs_read_data *data, struct
> rpc_clnt *clnt, const struct rpc_call_ops *call_ops);
> > +extern void nfs_read_validate(struct rpc_task *task, void *calldata);
> > +extern void nfs_readdata_release(void *data);
> >
> > /* Callback operations to the pNFS client */
> > struct pnfs_client_operations * pnfs_callback_ops;
>
> > diff --git a/fs/nfs/read.c b/fs/nfs/read.c
> > index c4ce40b..dd98eca 100644
> > --- a/fs/nfs/read.c
> > +++ b/fs/nfs/read.c
> > @@ -247,7 +247,6 @@ void nfs_initiate_read(struct nfs_read_data *data,
> struct rpc_clnt *clnt,
> >
> > nfs_execute_read(data);
> > }
> > -EXPORT_SYMBOL(nfs_initiate_read);
> >
> > /*
> > * Generate multiple requests to fill a single page.
>
> > @@ -672,3 +672,9 @@ void nfs_destroy_readpagecache(void)
> > mempool_destroy(nfs_rdata_mempool);
> > kmem_cache_destroy(nfs_rdata_cachep);
> > }
> > +
> > +#ifdef CONFIG_PNFS
> > +EXPORT_SYMBOL(nfs_initiate_read);
> > +EXPORT_SYMBOL(nfs_readdata_release);
> > +EXPORT_SYMBOL(nfs_read_validate);
> > +#endif /* CONFIG_PNFS */
>
> those 3 hunks will go in as a pnfs-only patch
ok!
_______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20071227/3b35215e/attachment.htm
More information about the pNFS
mailing list