Re: [PATCH] nfs: Remove duplicate function declaration in internal.h

From: Myklebust, Trond
Date: Thu Dec 13 2012 - 10:54:10 EST


On Thu, 2012-12-13 at 14:37 +0800, ycnian@xxxxxxxxx wrote:
> From: Yanchuan Nian <ycnian@xxxxxxxxx>
>
> Remove duplicate function declaration in internal.h
>
> Signed-off-by: Yanchuan Nian <ycnian@xxxxxxxxx>
> ---
> fs/nfs/internal.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
> index 59b133c..440674f 100644
> --- a/fs/nfs/internal.h
> +++ b/fs/nfs/internal.h
> @@ -409,9 +409,6 @@ extern struct nfs_write_header *nfs_writehdr_alloc(void);
> extern void nfs_writehdr_free(struct nfs_pgio_header *hdr);
> extern int nfs_generic_flush(struct nfs_pageio_descriptor *desc,
> struct nfs_pgio_header *hdr);
> -extern void nfs_pageio_init_write(struct nfs_pageio_descriptor *pgio,
> - struct inode *inode, int ioflags,
> - const struct nfs_pgio_completion_ops *compl_ops);
> extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio);
> extern void nfs_writedata_release(struct nfs_write_data *wdata);
> extern void nfs_commit_free(struct nfs_commit_data *p);

nfs_pageio_init_read() was suffering from the same problem, so I added
that to this patch and applied.

--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i