]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06bec853a6f1149ee19e7db5488b5a2864e51a0f
treec052a22ad9895213dbca0df267879673349d3606
parentfb68322d505db68444fc37426384ee055d73f5c0
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