]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfs: move nfs_pgio_data and remove nfs_rw_header
authorWeston Andros Adamson <dros@primarydata.com>
Mon, 15 Sep 2014 18:14:32 +0000 (14:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 20:41:00 +0000 (13:41 -0700)
commit755304b3320f063ba6ccc18c69b189507f5a35fc
tree3bbf7b31f50f461884d1e85ad18e9bfa24a0ddc7
parentf70054c4468ab3106ac4dcc1e9abd1b1f1bbd1cf
nfs: move nfs_pgio_data and remove nfs_rw_header

commit 1e7f3a485922211b6e4a082ebc6bf05810b0b6ea upstream.

nfs_rw_header was used to allocate an nfs_pgio_header along with an
nfs_pgio_data, because a _header would need at least one _data.

Now there is only ever one nfs_pgio_data for each nfs_pgio_header -- move
it to nfs_pgio_header and get rid of nfs_rw_header.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/direct.c
fs/nfs/internal.h
fs/nfs/pagelist.c
fs/nfs/pnfs.c
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_page.h
include/linux/nfs_xdr.h