]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: replace no-op firstblock init with ->t_firstblock
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:31 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:31 +0000 (22:26 -0700)
commit12ad32b505045db2c3f6cae4a997c5937315d8a7
treed1812400f6888ed6e7c475a6ba4f4ff94a893eab
parent7b32cb87ce10e984818c1861f2972538ba0d463d
xfs: replace no-op firstblock init with ->t_firstblock

xfs_refcount_recover_cow_leftovers() has no need for a firstblock
variable and so passes an unrelated xfs_fsblock_t to
xfs_defer_init() to avoid declaring one. Replace this no-op
initialization with ->t_firstblock. This will be optimized away by
the removal of the xfs_defer_init() firstblock param.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_refcount.c