NFS: rewrite nfs_delegations_present in terms of nr_active_delegations

Renewal only cares for active delegations and not revoked ones.  Replace
the list empty check with reading the active delegation counter to
implement this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
This commit is contained in:
Christoph Hellwig 2026-01-07 08:27:03 +01:00 • committed by Anna Schumaker
commit 2d80e59f29