Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] NFS: pnfs_pageio_init_read() and init_write() need an extra argument
@ 2012-04-30 17:06 bjschuma
  2012-04-30 17:29 ` Fred Isaman
  0 siblings, 1 reply; 2+ messages in thread
From: bjschuma @ 2012-04-30 17:06 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs, iisaman, Bryan Schumaker

From: Bryan Schumaker <bjschuma@netapp.com>

This is only when CONFIG_NFS_V4_1 isn't enabled.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
---
 fs/nfs/pnfs.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 8efbee7..f20054b 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -424,12 +424,14 @@ static inline void unset_pnfs_layoutdriver(struct nfs_server *s)
 {
 }
 
-static inline bool pnfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, struct inode *inode)
+static inline bool pnfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, struct inode *inode,
+					 const struct nfs_pgio_completion_ops *compl_ops)
 {
 	return false;
 }
 
-static inline bool pnfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags)
+static inline bool pnfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags,
+					  const struct nfs_pgio_completion_ops *compl_ops)
 {
 	return false;
 }
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] NFS: pnfs_pageio_init_read() and init_write() need an extra argument
  2012-04-30 17:06 [PATCH] NFS: pnfs_pageio_init_read() and init_write() need an extra argument bjschuma
@ 2012-04-30 17:29 ` Fred Isaman
  0 siblings, 0 replies; 2+ messages in thread
From: Fred Isaman @ 2012-04-30 17:29 UTC (permalink / raw)
  To: bjschuma; +Cc: Trond.Myklebust, linux-nfs

ACK

Fred

On Mon, Apr 30, 2012 at 1:06 PM,  <bjschuma@netapp.com> wrote:
> From: Bryan Schumaker <bjschuma@netapp.com>
>
> This is only when CONFIG_NFS_V4_1 isn't enabled.
>
> Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
> ---
>  fs/nfs/pnfs.h |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
> index 8efbee7..f20054b 100644
> --- a/fs/nfs/pnfs.h
> +++ b/fs/nfs/pnfs.h
> @@ -424,12 +424,14 @@ static inline void unset_pnfs_layoutdriver(struct nfs_server *s)
>  {
>  }
>
> -static inline bool pnfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, struct inode *inode)
> +static inline bool pnfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, struct inode *inode,
> +                                        const struct nfs_pgio_completion_ops *compl_ops)
>  {
>        return false;
>  }
>
> -static inline bool pnfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags)
> +static inline bool pnfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags,
> +                                         const struct nfs_pgio_completion_ops *compl_ops)
>  {
>        return false;
>  }
> --
> 1.7.10
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-30 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 17:06 [PATCH] NFS: pnfs_pageio_init_read() and init_write() need an extra argument bjschuma
2012-04-30 17:29 ` Fred Isaman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox