HomeFreeBSD

linux 6.7 compat: handle superblock shrinker member change

Description

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.

Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://github.com/sponsors/robn
(cherry picked from commit 18a9185165e2713e690e52347a37de1878e2a9fc)

Details

Provenance
rob.norris_klarasystems.comAuthored on Dec 16 2023, 6:39 AM
Tony Hutter <hutter2@llnl.gov>Committed on Feb 8 2024, 9:29 PM
Parents
rGe5f191d76007: linux 6.7 compat: use inode atime/mtime accessors
Branches
Unknown
Tags
Unknown