block: Use PAGE_SECTORS_SHIFT
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 03:40:45 +0000 (23:40 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Aug 2022 16:34:03 +0000 (12:34 -0400)
commit069fc464f1e80df06d156ef606cebc61ee00b63e
treec052a22ad9895213dbca0df267879673349d3606
parent98d8ba69ff1ac168e73ac509228c4701bf6c3b87
block: Use PAGE_SECTORS_SHIFT

The bare use of '9' confuses some people.  We also don't need this cast,
since the compiler does exactly that cast for us.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
block/partitions/core.c