]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove the alignment_offset field from struct hd_struct
authorChristoph Hellwig <hch@lst.de>
Mon, 31 Aug 2020 18:02:33 +0000 (20:02 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Sep 2020 22:49:26 +0000 (16:49 -0600)
commitd55d545d13d4bbd4aa71dbd07457219d87276f4c
tree08fe31667ad1977295a57dd95c29154ddc069f69
parente9b3a692b51acf68d32df120a307b7f72ba45ac2
block: remove the alignment_offset field from struct hd_struct

The alignment offset is only used in slow path callers, so just calculate
it on the fly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c
include/linux/blkdev.h
include/linux/genhd.h