Skip to content

Commit

Permalink
Merge branch 'disk_check_media_change-fix-2' into ck-master
Browse files Browse the repository at this point in the history
  • Loading branch information
ckane committed Jul 30, 2023
2 parents 0bbc4d9 + 2b45d21 commit 490a236
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/os/linux/kernel/linux/blkdev_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ zfs_check_media_change(struct block_device *bdev)
#define vdev_bdev_reread_part(bdev) zfs_check_media_change(bdev)
#elif defined(HAVE_DISK_CHECK_MEDIA_CHANGE)
#define vdev_bdev_reread_part(bdev) disk_check_media_change(bdev->bd_disk)
#define zfs_check_media_change(bdev) disk_check_media_change(bdev->bd_disk)
#else
/*
* This is encountered if check_disk_change() and bdev_check_media_change()
Expand Down

0 comments on commit 490a236

Please sign in to comment.