mirror_zfs/module/os/linux
Rob Norris 1d324aceef Linux 6.7 compat: handle superblock shrinker member change
In 6.7 the superblock shrinker member s_shrink has changed from being an
embedded struct to a pointer. Detect this, and don't take a reference if
it already is one.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://github.com/sponsors/robn
Closes #15681
2023-12-20 11:47:50 -08:00
..
spl Linux: Reclaim unused spl_kmem_cache_reclaim 2023-11-10 10:34:46 -08:00
zfs Linux 6.7 compat: handle superblock shrinker member change 2023-12-20 11:47:50 -08:00