diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-08-23 21:49:00 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-23 21:49:00 +0300 |
commit | 38b4e09fbccab6457536563823222921c49601bb (patch) | |
tree | 7954134949c71a95b905a4a620873919e71731a0 /drivers/block/null_blk.h | |
parent | a3d7d67403fcff366dafe8a7c04b15deec3d9022 (diff) | |
download | linux-38b4e09fbccab6457536563823222921c49601bb.tar.xz |
null_blk: fix inline misuse
You can't magically mark a function inline and expect that to work.
Fixes: fceb5d1b19cb ("null_blk: create a helper for zoned devices")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk.h')
-rw-r--r-- | drivers/block/null_blk.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/null_blk.h b/drivers/block/null_blk.h index 4895c02e0c65..6fa3c07af63a 100644 --- a/drivers/block/null_blk.h +++ b/drivers/block/null_blk.h @@ -90,9 +90,9 @@ int null_zone_init(struct nullb_device *dev); void null_zone_exit(struct nullb_device *dev); int null_zone_report(struct gendisk *disk, sector_t sector, struct blk_zone *zones, unsigned int *nr_zones); -inline blk_status_t null_handle_zoned(struct nullb_cmd *cmd, - enum req_opf op, sector_t sector, - sector_t nr_sectors); +blk_status_t null_handle_zoned(struct nullb_cmd *cmd, + enum req_opf op, sector_t sector, + sector_t nr_sectors); #else static inline int null_zone_init(struct nullb_device *dev) { |