]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/xfs/xfs_buf.h
xfs: add a proper transaction pointer to struct xfs_buf
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2011 11:43:49 +0000 (13:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2011 11:43:49 +0000 (13:43 +0200)
commitbf9d9013a2a559858efb590bf922377be9d6d969
treed6c30253605901475db0110c61c25e9d139d20d4
parent77936d0280616d84d1eb0eb38a6f857d2827a434
xfs: add a proper transaction pointer to struct xfs_buf

Replace the typeless b_fspriv2 and the ugly macros around it with a properly
typed transaction pointer.  As a fallout the log buffer state debug checks
are also removed.  We could have kept them using casts, but as they do
not have a real purpose we can as well just remove them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/linux-2.6/xfs_buf.h
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_log.c
fs/xfs/xfs_trans_buf.c