NFS: Create a common initiate_pgio() function
authorAnna Schumaker <Anna.Schumaker@netapp.com>
Tue, 6 May 2014 13:12:37 +0000 (09:12 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:40 +0000 (11:11 -0400)
commit1ed26f33008e954a8e91d26f97d4380dea8145db
treea187a1fb9658ee39d5c00e71fd6105b7cb6d3f56
parentef2c488c073f4f0b3a200745dd8d608c01d69c39
NFS: Create a common initiate_pgio() function

Most of this code is the same for both the read and write paths, so
combine everything and use the rw_ops when necessary.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/internal.h
fs/nfs/nfs4filelayout.c
fs/nfs/pagelist.c
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_page.h