]> git.baikalelectronics.ru Git - kernel.git/commit
block: move the disk events code to a separate file
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Jun 2021 07:38:42 +0000 (09:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Jun 2021 18:00:22 +0000 (12:00 -0600)
commitad1d027b000f752cac312444b84a4f19d6370007
tree8e0f186a3b51277ab5c2c1e2a6a8de0763915669
parentf323ddbdf4da62af19f263b65b0699c006046dd2
block: move the disk events code to a separate file

Move the code for handling disk events from genhd.c into a new file
as it isn't very related to the rest of the file while at the same
time requiring lots of forward declarations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20210624073843.251178-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Makefile
block/blk.h
block/disk-events.c [new file with mode: 0644]
block/genhd.c