diff options
| author | Brian Foster <[email protected]> | 2018-07-24 20:43:15 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-07-26 17:15:16 +0000 |
| commit | 9e28a242be65b8274742425ca5d146f366205a90 (patch) | |
| tree | a1367cc42195321646f26fb47d433258a6f706ea /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: remove unnecessary dfops init calls in xattr code (diff) | |
| download | kernel-9e28a242be65b8274742425ca5d146f366205a90.tar.gz kernel-9e28a242be65b8274742425ca5d146f366205a90.zip | |
xfs: drop unnecessary xfs_defer_finish() dfops parameter
Every caller of xfs_defer_finish() now passes the transaction and
its associated ->t_dfops. The xfs_defer_ops parameter is therefore
no longer necessary and can be removed.
Since most xfs_defer_finish() callers also have to consider
xfs_defer_cancel() on error, update the latter to also receive the
transaction for consistency. The log recovery code contains an
outlier case that cancels a dfops directly without an available
transaction. Retain an internal wrapper to support this outlier case
for the time being.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Bill O'Donnell <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions
