]> granicus.if.org Git - zfs/commit
Linux 4.19-rc3+ compat: Remove refcount_t compat
authorTim Schumacher <timschumi@gmx.de>
Wed, 26 Sep 2018 17:29:26 +0000 (19:29 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 26 Sep 2018 17:29:26 +0000 (10:29 -0700)
commitc13060e4787e9578dafad85a47c62457424bec9c
treebf05ff868e01b6d607a234026a659ff4b5e1a789
parent7a23c81342df05ace730bd303b4a73854dba43dd
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
32 files changed:
cmd/ztest/ztest.c
include/linux/vfs_compat.h
include/sys/abd.h
include/sys/arc.h
include/sys/arc_impl.h
include/sys/dbuf.h
include/sys/dmu_tx.h
include/sys/dnode.h
include/sys/dsl_crypt.h
include/sys/dsl_dataset.h
include/sys/metaslab_impl.h
include/sys/refcount.h
include/sys/rrwlock.h
include/sys/sa_impl.h
include/sys/spa_impl.h
include/sys/zap.h
include/sys/zfs_znode.h
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_tx.c
module/zfs/dnode.c
module/zfs/dsl_crypt.c
module/zfs/dsl_dataset.c
module/zfs/dsl_scan.c
module/zfs/metaslab.c
module/zfs/refcount.c
module/zfs/rrwlock.c
module/zfs/sa.c
module/zfs/spa_misc.c
module/zfs/zfs_ctldir.c
module/zfs/zfs_znode.c