Darrick J. Wong a004afdc62 xfs: avoid nested calls to __xfs_trans_commit
Currently, __xfs_trans_commit calls xfs_defer_finish_noroll, which calls
__xfs_trans_commit again on the same transaction.  In other words,
there's a nested function call (albeit with slightly different
arguments) that has caused minor amounts of confusion in the past.
There's no reason to keep this around, since there's only one place
where we actually want the xfs_defer_finish_noroll, and that is in the
top level xfs_trans_commit call.

This also reduces stack usage a little bit.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-12-12 17:45:11 -08:00
..
2024-11-04 16:22:10 -08:00
2024-11-21 09:20:07 -08:00
2024-04-23 07:47:00 -07:00
2024-04-23 07:47:00 -07:00
2024-04-22 18:00:47 +05:30
2024-11-03 01:28:06 -05:00
2024-04-23 07:47:00 -07:00
2024-11-05 13:38:37 -08:00
2024-11-21 09:20:07 -08:00
2024-11-21 09:20:07 -08:00
2024-11-21 09:20:07 -08:00
2024-04-23 07:46:50 -07:00