[PATCH 05/11] xfs: let xfs_bwrite callers handle the xfs_buf_relse
Alex Elder
aelder at sgi.com
Thu Sep 1 14:22:27 CDT 2011
On Tue, 2011-08-23 at 04:28 -0400, Christoph Hellwig wrote:
> 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 at lst.de>
> Reviewed-by: Dave Chinner <dchinner at redhat.com>
Looks good. In once case you may have fixed a bug
where the buffer pointer was used despite its last
reference being dropped.
Reviewed-by: Alex Elder <aelder at sgi.com>
More information about the xfs
mailing list