block: renumber QUEUE_FLAG_HW_WC
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Dec 2023 08:15:24 +0000 (08:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 14:19:42 +0000 (15:19 +0100)
commitb5f63f5e8a6820a6093b6caf35bb0f7c946c7d72
tree784f8a55d20a837d564d21da7ac86845201dd067
parentcf742d0955850ca2e33410dda6afd360d6cd65bc
block: renumber QUEUE_FLAG_HW_WC

[ Upstream commit 02d374f3418df577c850f0cd45c3da9245ead547 ]

For the QUEUE_FLAG_HW_WC to actually work, it needs to have a separate
number from QUEUE_FLAG_FUA, doh.

Fixes: 43c9835b144c ("block: don't allow enabling a cache on devices that don't support it")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231226081524.180289-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/blkdev.h