aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-04-30 13:06:53 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-30 14:06:46 -0400
commitb58fee2189b17719c846f65ffe9483c2814e6605 (patch)
treee6f53d05db9c64d1e4900424ff1c7f68c43f6461 /fs/nfs
parent9b5415b536cc3193e9608a7fced1372df8ce4dcf (diff)
NFS: pnfs_pageio_init_read() and init_write() need an extra argument
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/pnfs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 8efbee769ba7..f20054b592b6 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)
424{ 424{
425} 425}
426 426
427static inline bool pnfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, struct inode *inode) 427static inline bool pnfs_pageio_init_read(struct nfs_pageio_descriptor *pgio, struct inode *inode,
428 const struct nfs_pgio_completion_ops *compl_ops)
428{ 429{
429 return false; 430 return false;
430} 431}
431 432
432static inline bool pnfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags) 433static inline bool pnfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, struct inode *inode, int ioflags,
434 const struct nfs_pgio_completion_ops *compl_ops)
433{ 435{
434 return false; 436 return false;
435} 437}