]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add a proper transaction pointer to struct xfs_buf
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Jan 2018 19:54:51 +0000 (13:54 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 25 Jan 2018 19:54:51 +0000 (13:54 -0600)
commitcfc06b60b832032a49f596b6b59449353bdcd088
treeebbe033a9afca03aab14f09536e3bb412b03b45e
parent38d096b69aeb452c340165aef4e4ff6c63a0387c
xfs: add a proper transaction pointer to struct xfs_buf

Source kernel commit bf9d9013a2a559858efb590bf922377be9d6d969

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>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_io.h
libxfs/trans.c