]> 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)
commit705c20742d7654e94e149e5d7f0a875632b80803
treec052a22ad9895213dbca0df267879673349d3606
parentbd05afac0864ef8ad54beb0c751260f808dc58e9
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