]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: remove the redundant xfs_alloc_log_agf
authorLong Li <leo.lilong@huawei.com>
Mon, 30 Sep 2024 10:42:17 +0000 (18:42 +0800)
committerCarlos Maiolino <cem@kernel.org>
Tue, 5 Nov 2024 12:51:55 +0000 (13:51 +0100)
commit8b9b261594d8ef218ef4d0e732dad153f82aab49
treecd9543edf398a776c29a60fd5154008f0a3a7807
parent59b723cd2adbac2a34fc8e12c74ae26ae45bf230
xfs: remove the redundant xfs_alloc_log_agf

There are two invocations of xfs_alloc_log_agf in xfs_alloc_put_freelist.
The AGF does not change between the two calls. Although this does not pose
any practical problems, it seems like a small mistake. Therefore, fix it
by removing the first xfs_alloc_log_agf invocation.

Signed-off-by: Long Li <leo.lilong@huawei.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_alloc.c