]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NFS: pnfs_pageio_init_read() and init_write() need an extra argument
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 30 Apr 2012 17:06:53 +0000 (13:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 18:06:46 +0000 (14:06 -0400)
This is only when CONFIG_NFS_V4_1 isn't enabled.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Acked-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.h

index 8efbee769ba75537b6d2cd096a053e6dfdba17de..f20054b592b6ab3c03c8de5d43ffdcf0ffbd5651 100644 (file)
@@ -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;
 }