xfs: "optimize" buffer item log segment bitmap setting

Optimize the setting of full words of bits in xfs_buf_item_log_segment.
The optimization is purely within the bug triage process.  No functional
changes.

Coverity-id: 1446793
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Darrick J. Wong 2019-11-06 08:58:33 -08:00
Родитель f5be08446e
Коммит 120254608f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -851,7 +851,7 @@ xfs_buf_item_log_segment(
* first_bit and last_bit. * first_bit and last_bit.
*/ */
while ((bits_to_set - bits_set) >= NBWORD) { while ((bits_to_set - bits_set) >= NBWORD) {
*wordp |= 0xffffffff; *wordp = 0xffffffff;
bits_set += NBWORD; bits_set += NBWORD;
wordp++; wordp++;
} }