diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:48 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:46 -0400 |
commit | 57208fa7e51ca16cd68de8e8bf482f16b06d3ea1 (patch) | |
tree | c34e830385439ac3ec5679c37266c2caa922e9aa /fs/nfs/nfs4proc.c | |
parent | 1abb50886afe8a126705c93dab2b50c1252a9c19 (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/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index f99cf71f4e36..7d387cb8ceb5 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -6796,6 +6796,7 @@ const struct nfs_rpc_ops nfs_v4_clientops = { | |||
6796 | .read_rpc_prepare = nfs4_proc_read_rpc_prepare, | 6796 | .read_rpc_prepare = nfs4_proc_read_rpc_prepare, |
6797 | .read_done = nfs4_read_done, | 6797 | .read_done = nfs4_read_done, |
6798 | .write_setup = nfs4_proc_write_setup, | 6798 | .write_setup = nfs4_proc_write_setup, |
6799 | .write_pageio_init = pnfs_pageio_init_write, | ||
6799 | .write_rpc_prepare = nfs4_proc_write_rpc_prepare, | 6800 | .write_rpc_prepare = nfs4_proc_write_rpc_prepare, |
6800 | .write_done = nfs4_write_done, | 6801 | .write_done = nfs4_write_done, |
6801 | .commit_setup = nfs4_proc_commit_setup, | 6802 | .commit_setup = nfs4_proc_commit_setup, |