]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add a flag to release log items on commit
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:27:32 +0000 (19:27 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:27:32 +0000 (19:27 -0700)
commit8b2192040b7ac2dfa824eb9e71b050babf8e9e5c
treebe33e14549bbef071ce6b0d23f45012a6876d437
parent7c2828fc2338b9d4ae94c3579870164232241d47
xfs: add a flag to release log items on commit

We have various items that are released from ->iop_comitting.  Add a
flag to just call ->iop_release from the commit path to avoid tons
of boilerplate code.

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