summaryrefslogtreecommitdiffstats
path: root/include/os
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-24 21:45:25 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:51 -0700
commitd4e553801458debe441da6bc2491792f9464bdd5 (patch)
tree8aa7b913886e8e9a8f0a8c8679739cc89cc690bc /include/os
parent7a02229293a70cc9625b8baf3cd3d171d8bbd19b (diff)
config: remove HAVE_GENERIC_IO_ACCT_3ARG
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'include/os')
-rw-r--r--include/os/linux/kernel/linux/blkdev_compat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h
index ac3c1118d..7c75e0076 100644
--- a/include/os/linux/kernel/linux/blkdev_compat.h
+++ b/include/os/linux/kernel/linux/blkdev_compat.h
@@ -493,10 +493,6 @@ blk_generic_start_io_acct(struct request_queue *q __attribute__((unused)),
return (disk_start_io_acct(disk, bio_sectors(bio), bio_op(bio)));
#elif defined(HAVE_BIO_IO_ACCT)
return (bio_start_io_acct(bio));
-#elif defined(HAVE_GENERIC_IO_ACCT_3ARG)
- unsigned long start_time = jiffies;
- generic_start_io_acct(rw, bio_sectors(bio), &disk->part0);
- return (start_time);
#elif defined(HAVE_GENERIC_IO_ACCT_4ARG)
unsigned long start_time = jiffies;
generic_start_io_acct(q, rw, bio_sectors(bio), &disk->part0);
@@ -521,8 +517,6 @@ blk_generic_end_io_acct(struct request_queue *q __attribute__((unused)),
disk_end_io_acct(disk, bio_op(bio), start_time);
#elif defined(HAVE_BIO_IO_ACCT)
bio_end_io_acct(bio, start_time);
-#elif defined(HAVE_GENERIC_IO_ACCT_3ARG)
- generic_end_io_acct(rw, &disk->part0, start_time);
#elif defined(HAVE_GENERIC_IO_ACCT_4ARG)
generic_end_io_acct(q, rw, &disk->part0, start_time);
#endif