diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-06 19:58:33 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-08 00:00:54 +0300 |
commit | 120254608f042e01e0ad1da9285006f122943a1e (patch) | |
tree | 5f85ef42fce4a872d509fc19732ab0514ea384a6 /fs/xfs/xfs_buf_item.c | |
parent | f5be08446ee748785697527c8d772d896814b95f (diff) | |
download | linux-120254608f042e01e0ad1da9285006f122943a1e.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index d74fbd1e9d3e..6b69e6137b2b 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c @@ -851,7 +851,7 @@ xfs_buf_item_log_segment( * first_bit and last_bit. */ while ((bits_to_set - bits_set) >= NBWORD) { - *wordp |= 0xffffffff; + *wordp = 0xffffffff; bits_set += NBWORD; wordp++; } |