]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/nfs/pnfs.h
pnfs: clean up *_resend_to_mds
authorWeston Andros Adamson <dros@primarydata.com>
Mon, 9 Jun 2014 15:48:38 +0000 (11:48 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 24 Jun 2014 22:47:01 +0000 (18:47 -0400)
commit53113ad35e4b9ce82d949c7c67c7b666fad5d907
treed648b4ca1de29c1dcb87e545f58aa25a3dce2da8
parent4714fb51fd03a14d8c73001438283e7f7b752f1e
pnfs: clean up *_resend_to_mds

Clean up pnfs_read_done_resend_to_mds and pnfs_write_done_resend_to_mds:
 - instead of passing all arguments from a nfs_pgio_header, just pass the header
 - share the common code

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/pagelist.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
include/linux/nfs_page.h