]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: better log intent item refcount checking
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 20 Apr 2017 22:09:05 +0000 (15:09 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:42 +0000 (09:40 -0700)
commitc4cf1acdb186436b88cc9aeaf08322bc49fec183
tree182b16a4ff2cb81bf720e4d7d2666fa4851cee60
parent20e8a063786050083fe05b4f45be338c60b49126
xfs: better log intent item refcount checking

Use ASSERTs on the log intent item refcounts so that we fail noisily if
anyone tries to double-free the item.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c