Retire z_nr_znodes
commitf7a07d76ee5a6b698540c6873f194350539a7065
authorMateusz Guzik <mjguzik@gmail.com>
Mon, 18 Sep 2023 23:53:33 +0000 (19 01:53 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Sep 2023 15:52:06 +0000 (19 08:52 -0700)
tree806ddec1fc9081842a6d960f25c2e0a6351952a7
parent54c6fbd378eaa402eff34acf6a91c02d6cf9da11
Retire z_nr_znodes

Added in ab26409db753 ("Linux 3.1 compat, super_block->s_shrink"), with
the only consumer which needed the count getting retired in 066e82522101
("Linux compat: Minimum kernel version 3.10").

The counter gets in the way of not maintaining the list to begin with.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #15274
include/os/freebsd/zfs/sys/zfs_vfsops_os.h
include/os/linux/zfs/sys/zfs_vfsops_os.h
module/os/freebsd/zfs/zfs_vfsops.c
module/os/freebsd/zfs/zfs_znode.c
module/os/linux/zfs/zfs_ctldir.c
module/os/linux/zfs/zfs_vfsops.c
module/os/linux/zfs/zfs_znode.c