Skip to content

Commit

Permalink
Merge pull request #29 from truenas/fix_bdev_handle_backport
Browse files Browse the repository at this point in the history
NAS-128736 / None / scst/include/backport.h: Update backport for Linux kernel 6.6.23
  • Loading branch information
bmeagherix authored May 2, 2024
2 parents 28af5b4 + 0a314fe commit 9e79075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scst/include/backport.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ static inline void blkdev_put_backport(struct block_device *bdev, void *holder)

#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 7, 0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 23)
/*
* See also commit e719b4d15674 ("block: Provide bdev_open_* functions") # v6.7.
* Also backported to 6.6.23 in commit dd0bd4291250
*/
struct bdev_handle {
struct block_device *bdev;
Expand Down

0 comments on commit 9e79075

Please sign in to comment.