diff options
Diffstat (limited to 'fs/nfs/nfs4filelayout.c')
-rw-r--r-- | fs/nfs/nfs4filelayout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c index 46bb31b79683..faac87f24797 100644 --- a/fs/nfs/nfs4filelayout.c +++ b/fs/nfs/nfs4filelayout.c | |||
@@ -682,11 +682,13 @@ filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, | |||
682 | } | 682 | } |
683 | 683 | ||
684 | static const struct nfs_pageio_ops filelayout_pg_read_ops = { | 684 | static const struct nfs_pageio_ops filelayout_pg_read_ops = { |
685 | .pg_init = pnfs_generic_pg_init_read, | ||
685 | .pg_test = filelayout_pg_test, | 686 | .pg_test = filelayout_pg_test, |
686 | .pg_doio = nfs_generic_pg_readpages, | 687 | .pg_doio = nfs_generic_pg_readpages, |
687 | }; | 688 | }; |
688 | 689 | ||
689 | static const struct nfs_pageio_ops filelayout_pg_write_ops = { | 690 | static const struct nfs_pageio_ops filelayout_pg_write_ops = { |
691 | .pg_init = pnfs_generic_pg_init_write, | ||
690 | .pg_test = filelayout_pg_test, | 692 | .pg_test = filelayout_pg_test, |
691 | .pg_doio = nfs_generic_pg_writepages, | 693 | .pg_doio = nfs_generic_pg_writepages, |
692 | }; | 694 | }; |