HomeFreeBSD

Linux 4.19-rc3+ compat: Remove refcount_t compat

Description

Linux 4.19-rc3+ compat: Remove refcount_t compat

torvalds/linux@59b57717f ("blkcg: delay blkg destruction until
after writeback has finished") added a refcount_t to the blkcg
structure. Due to the refcount_t compatibility code, zfs_refcount_t
was used by mistake.

Resolve this by removing the compatibility code and replacing the
occurrences of refcount_t with zfs_refcount_t.

Reviewed-by: Franz Pletz <fpletz@fnordicwalking.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Closes #7885
Closes #7932

Details

Provenance
Tim Schumacher <timschumi@gmx.de>Authored on Sep 26 2018, 5:29 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 26 2018, 5:29 PM
Parents
rG7a23c81342df: Fix small sysfs leak
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc13060e4787e: Linux 4.19-rc3+ compat: Remove refcount_t compat (authored by Tim Schumacher <timschumi@gmx.de>).Sep 26 2018, 5:29 PM