block: move lower_48_bits() to block
authorKeith Busch <kbusch@kernel.org>
Sun, 27 Mar 2022 17:33:16 +0000 (11:33 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Apr 2022 01:18:27 +0000 (19:18 -0600)
commit868e6139c5212e7d9de8332806aacfeafb349320
treee8862776d65c8b945579777f9b8c534baa839eb4
parent286901941fd18a52b2138fddbbf589ad3639eb00
block: move lower_48_bits() to block

The function is not generally applicable enough to be included in the core
kernel header. Move it to block since it's the only subsystem using it.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20220327173316.315-1-kbusch@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/kernel.h
include/linux/t10-pi.h