]> www.infradead.org Git - users/hch/block.git/commit
block: move {bdev,queue_limit}_discard_alignment out of line
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Feb 2022 08:46:49 +0000 (09:46 +0100)
committerChristoph Hellwig <hch@lst.de>
Sun, 10 Apr 2022 06:26:11 +0000 (08:26 +0200)
commit502345632eba20824985b5543d72963a2e82c960
tree79351ab0a81239f05bb10ac2fb0fa44d33e38494
parent12cd1a31ae5cf70f2c94d8654e2ab821d9f9ed3a
block: move {bdev,queue_limit}_discard_alignment out of line

No need to inline these fairly larger helpers.  Also fix the return value
to be unsigned, just like the field in struct queue_limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
block/blk-settings.c
include/linux/blkdev.h