aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-08-18 16:45:37 +0200
committerJens Axboe <[email protected]>2021-08-23 12:55:45 -0600
commit75f4dca59694dfe288ae6a48d7b147b60d11c95c (patch)
treed289fc188015956312856ccba0be547fbf25118e /lib/test_fortify/write_overflow-memcpy.c
parentbab53f6b617d9f530978d6e3693f88e586d81a8a (diff)
block: call blk_register_queue earlier in device_add_disk
Ensure that all the sysfs bits are set up before bdev_add is called, as that will make the upcomding error handling much easier. However this means the call to disk_update_readahead has to be split as that requires a bdi. Also remove various sanity checks that don't make sense now that blk_register_queue only has a single caller. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions