NFS: Clean up - simplify the switch to read/write-through-MDS
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 13 Jul 2011 19:59:57 +0000 (15:59 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Jul 2011 13:12:22 +0000 (09:12 -0400)
commit1f9453578f059d2651aa6c6b16756627fc9f2a74
tree05d0b81eb0c191ce0e5fd770189e1649dab3b4d9
parentdce81290eed64d24493989bb7a08f9e20495e184
NFS: Clean up - simplify the switch to read/write-through-MDS

Use nfs_pageio_reset_read_mds and nfs_pageio_reset_write_mds instead of
completely reinitialising the struct nfs_pageio_descriptor.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/nfs4filelayout.c
fs/nfs/pnfs.c
fs/nfs/read.c
fs/nfs/write.c