diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:47 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:46 -0400 |
commit | 1abb50886afe8a126705c93dab2b50c1252a9c19 (patch) | |
tree | 484ae821c5b5b1a7dee221e9eba41119a27a3fb1 /fs/nfs/proc.c | |
parent | 6663ee7f8187708143255c057bc132bbc84c1894 (diff) | |
download | linux-1abb50886afe8a126705c93dab2b50c1252a9c19.tar.gz linux-1abb50886afe8a126705c93dab2b50c1252a9c19.tar.bz2 linux-1abb50886afe8a126705c93dab2b50c1252a9c19.zip |
NFS: Create an read_pageio_init() function
pNFS needs to select a read function based on the layout driver
currently in use, so I let each NFS version decide how to best handle
initializing reads.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 99a002515dfe..6fea6e107bc3 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c @@ -778,6 +778,7 @@ const struct nfs_rpc_ops nfs_v2_clientops = { .pathconf = nfs_proc_pathconf, .decode_dirent = nfs2_decode_dirent, .read_setup = nfs_proc_read_setup, + .read_pageio_init = nfs_pageio_init_read, .read_rpc_prepare = nfs_proc_read_rpc_prepare, .read_done = nfs_read_done, .write_setup = nfs_proc_write_setup, |