]> git.ipfire.org Git - thirdparty/linux.git/commit
NFSD: Replace idr_for_each_entry_ul in find_one_sb_stid()
authorChuck Lever <chuck.lever@oracle.com>
Sun, 19 Apr 2026 18:53:04 +0000 (14:53 -0400)
committerChuck Lever <cel@kernel.org>
Tue, 9 Jun 2026 20:32:59 +0000 (16:32 -0400)
commit8fc274883530a9f2c9f69d96e0255df584b5ff61
tree266caa6e03e4b0e40114c7bfa236a2d4c9dcac94
parent327c5168eff2e7f1760ca67fcb0f9053019fbfee
NFSD: Replace idr_for_each_entry_ul in find_one_sb_stid()

Replace idr_for_each_entry_ul() with a while loop over
idr_get_next_ul() for consistency with find_one_export_stid(),
added in a subsequent commit.

No change in behavior.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c