On 6/24/21 9:38 AM, Christoph Hellwig wrote: > 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@xxxxxx> > --- > block/Makefile | 3 +- > block/blk.h | 5 + > block/disk-events.c | 484 +++++++++++++++++++++++++++++++++++++++++++ > block/genhd.c | 492 -------------------------------------------- > 4 files changed, 491 insertions(+), 493 deletions(-) > create mode 100644 block/disk-events.c > Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer