Skip to content

Commit 2e9c9b7

Browse files
committed
go away
1 parent 3ace9de commit 2e9c9b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config/kernel-generic_io_acct.m4

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_GENERIC_IO_ACCT], [
1111
unsigned long start_time;
1212
1313
start_time = bdev_start_io_acct(bdev, bio_op(bio),
14-
bio_sectors(bio), passed_time);
14+
passed_time);
1515
bdev_end_io_acct(bdev, bio_op(bio), bio_sectors(bio), start_time);
1616
])
1717
@@ -92,6 +92,7 @@ AC_DEFUN([ZFS_AC_KERNEL_GENERIC_IO_ACCT], [
9292
AC_MSG_RESULT(yes)
9393
AC_DEFINE(HAVE_BDEV_IO_ACCT_OLD, 1, [bdev_*_io_acct() available])
9494
], [
95+
AC_MSG_RESULT(no)
9596
dnl #
9697
dnl # 5.12 API,
9798
dnl #

include/os/linux/kernel/linux/blkdev_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ blk_generic_start_io_acct(struct request_queue *q __attribute__((unused)),
594594
{
595595
#if defined(HAVE_BDEV_IO_ACCT_62)
596596
return (bdev_start_io_acct(bio->bi_bdev, bio_op(bio),
597-
bio_sectors(bio), jiffies));
597+
jiffies));
598598
#elif defined(HAVE_BDEV_IO_ACCT_OLD)
599599
return (bdev_start_io_acct(bio->bi_bdev, bio_sectors(bio),
600600
bio_op(bio), jiffies));

0 commit comments

Comments
 (0)