1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00
NeilBrown fb321998de nfsd: use correct loop termination in nfsd4_revoke_states()
The loop in nfsd4_revoke_states() stops one too early because
the end value given is CLIENT_HASH_MASK where it should be
CLIENT_HASH_SIZE.

This means that an admin request to drop all locks for a filesystem will
miss locks held by clients which hash to the maximum possible hash value.

Fixes: 1ac3629bf012 ("nfsd: prepare for supporting admin-revocation of state")
Cc: stable@vger.kernel.org
Signed-off-by: NeilBrown <neil@brown.name>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2026-01-02 13:49:38 -05:00
..
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-06-10 22:21:16 -04:00
2025-07-28 13:43:25 -07:00
2025-11-11 10:13:17 -08:00
2025-07-28 13:43:25 -07:00
2025-10-03 16:32:36 -07:00
2025-10-02 18:44:54 -07:00
2025-09-29 11:55:15 -07:00
2025-09-29 15:24:58 -07:00
2025-09-29 09:03:07 -07:00
\n
2025-07-28 16:16:09 -07:00
2025-09-13 17:32:47 -07:00
2025-09-13 16:55:07 -07:00
2025-10-03 13:54:23 -07:00
2025-09-29 09:03:07 -07:00
2025-12-24 21:18:46 -05:00
2025-09-29 10:27:17 -07:00
2026-01-02 13:43:41 -05:00
2025-09-13 16:55:13 -07:00
2025-07-28 13:43:25 -07:00
2025-09-29 18:08:34 -07:00
2025-11-14 08:30:48 -08:00
2025-07-28 13:43:25 -07:00
2025-09-16 23:59:38 -04:00
2025-09-21 19:24:50 -04:00
2025-07-28 13:43:25 -07:00
2025-07-28 17:11:40 -07:00
2025-09-26 10:21:23 +02:00
2025-09-29 11:20:29 -07:00
2025-10-07 12:48:33 +02:00
2025-09-29 11:34:40 -07:00
2025-09-29 09:42:30 -07:00
2025-10-03 16:32:36 -07:00
2025-09-01 13:08:01 +02:00
2025-07-28 14:10:15 -07:00
2025-12-24 21:18:46 -05:00
2025-09-29 13:43:52 -07:00
2025-10-03 10:19:44 -07:00
2025-10-03 16:32:36 -07:00
2025-10-03 10:51:44 -07:00
2025-10-03 16:32:36 -07:00
2025-10-03 16:32:36 -07:00
2025-08-29 15:08:07 +02:00
2025-05-23 14:20:44 +02:00
2025-10-03 10:19:44 -07:00
2025-07-28 11:22:56 -07:00