]> git.ipfire.org Git - thirdparty/linux.git/commit - block/Makefile
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)
commitd5870edfa3afc4608231267ea3b8e4beb3eab1ee
tree8e0f186a3b51277ab5c2c1e2a6a8de0763915669
parent60b6a7e6a0f4382cd689f9afdac816964fec2921
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