]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: remove redundant update for ticket->t_curr_res in xfs_log_ticket_regrant
authorLong Li <leo.lilong@huawei.com>
Mon, 23 Dec 2024 11:45:10 +0000 (19:45 +0800)
committerCarlos Maiolino <cem@kernel.org>
Mon, 13 Jan 2025 13:56:09 +0000 (14:56 +0100)
commitadcaff355bd8abb9b5097cc72339fb9cbf2eefda
treeda741ca141704dac2dd1e223d6abbe5f6578c3ce
parent99fc33d16b2405cbc753fd30f93cd413d7d1b5fd
xfs: remove redundant update for ticket->t_curr_res in xfs_log_ticket_regrant

The current reservation of the log ticket has already been updated a few
lines above in xfs_log_ticket_regrant(), so there is no need to update it
again. This is just a code cleanup with no functional changes.

Signed-off-by: Long Li <leo.lilong@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_log.c