xfs: clean up xfs_end_ioend() to reuse local variables
authorLong Li <leo.lilong@huawei.com>
Mon, 9 Dec 2024 11:42:41 +0000 (19:42 +0800)
committerCarlos Maiolino <cem@kernel.org>
Mon, 13 Jan 2025 13:56:02 +0000 (14:56 +0100)
commit99fc33d16b2405cbc753fd30f93cd413d7d1b5fd
tree6c0ddbec8636a215c7ca797fdabb9dd19ecb164b
parentefebe42d95fbba91dca6e3e32cb9e0612eb56de5
xfs: clean up xfs_end_ioend() to reuse local variables

Use already initialized local variables 'offset' and 'size' instead
of accessing ioend members directly in xfs_setfilesize() call.

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>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_aops.c