aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/proc.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-06-20 15:53:48 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-06-29 11:46:46 -0400
commit57208fa7e51ca16cd68de8e8bf482f16b06d3ea1 (patch)
treec34e830385439ac3ec5679c37266c2caa922e9aa /fs/nfs/proc.c
parent1abb50886afe8a126705c93dab2b50c1252a9c19 (diff)
NFS: Create an write_pageio_init() function
pNFS needs to select a write function based on the layout driver currently in use, so I let each NFS version decide how to best handle initializing writes. 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c
index 6fea6e107bc3..cf6499742b10 100644
--- a/fs/nfs/proc.c
+++ b/fs/nfs/proc.c
@@ -782,6 +782,7 @@ const struct nfs_rpc_ops nfs_v2_clientops = {
782 .read_rpc_prepare = nfs_proc_read_rpc_prepare, 782 .read_rpc_prepare = nfs_proc_read_rpc_prepare,
783 .read_done = nfs_read_done, 783 .read_done = nfs_read_done,
784 .write_setup = nfs_proc_write_setup, 784 .write_setup = nfs_proc_write_setup,
785 .write_pageio_init = nfs_pageio_init_write,
785 .write_rpc_prepare = nfs_proc_write_rpc_prepare, 786 .write_rpc_prepare = nfs_proc_write_rpc_prepare,
786 .write_done = nfs_write_done, 787 .write_done = nfs_write_done,
787 .commit_setup = nfs_proc_commit_setup, 788 .commit_setup = nfs_proc_commit_setup,