nfs: remove pgio_header refcount, related cleanup
authorWeston Andros Adamson <dros@primarydata.com>
Mon, 9 Jun 2014 15:48:37 +0000 (11:48 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 24 Jun 2014 22:47:01 +0000 (18:47 -0400)
commit4714fb51fd03a14d8c73001438283e7f7b752f1e
treecb138e6479fb7a4fc4109f440b4138e2e00369ee
parentc65e6254ca4db1584c5bf5f228ee26556477a9fd
nfs: remove pgio_header refcount, related cleanup

The refcounting on nfs_pgio_header was related to there being (possibly)
more than one nfs_pgio_data. Now that nfs_pgio_data has been merged into
nfs_pgio_header, there is no reason to do this ref counting.  Just call
the completion callback on nfs_pgio_release/nfs_pgio_error.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c
fs/nfs/pnfs.c
include/linux/nfs_xdr.h