xfs: let xfs_bwrite callers handle the xfs_buf_relse
authorChristoph Hellwig <hch@infradead.org>
Tue, 23 Aug 2011 08:28:07 +0000 (08:28 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:00 +0000 (21:15 -0500)
commitc2b006c1da1602551def200e4661535f02b82488
tree6801f459bb218ed062d30e31eb92d3867ce8166a
parent61551f1ee536289084a4a8f1c4f187e2f371c440
xfs: let xfs_bwrite callers handle the xfs_buf_relse

Remove the xfs_buf_relse from xfs_bwrite and let the caller handle it to
mirror the delwri and read paths.

Also remove the mount pointer passed to xfs_bwrite, which is superflous now
that we have a mount pointer in the buftarg.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_attr.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_dquot.c
fs/xfs/xfs_fsops.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_sync.c