]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfs: remove pgio_header refcount, related cleanup
authorWeston Andros Adamson <dros@primarydata.com>
Mon, 15 Sep 2014 18:14:35 +0000 (14:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 20:41:00 +0000 (13:41 -0700)
commitde4308d1ff92b11b3b5a104884cc4dbdce49a55e
tree56c86cf81d2e62a0be5ace6160a300debf712483
parent46af9f153348a5fd7170059b1eeb52d64149ab9b
nfs: remove pgio_header refcount, related cleanup

commit 4714fb51fd03a14d8c73001438283e7f7b752f1e upstream.

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