]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: remove the redundant xfs_alloc_log_agf
authorLong Li <leo.lilong@huawei.com>
Mon, 25 Nov 2024 21:14:11 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:23 +0000 (18:01 -0800)
commitbc494cfd76a42b3b42b2f20d53e701254d6ef1b1
treef0923bbe2d926334a3e47f60ce50d341daf35117
parent98bf9c3b811be6980d80208a1cd78d76b5ab96db
xfs: remove the redundant xfs_alloc_log_agf

Source kernel commit: 8b9b261594d8ef218ef4d0e732dad153f82aab49

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_alloc.c