Jeff Layton 62a6a708f3 lockd: fix nlm_close_files
[ Upstream commit 1197eb5906a5464dbaea24cac296dfc38499cc00 ]

This loop condition tries a bit too hard to be clever. Just test for
the two indices we care about explicitly.

Cc: J. Bruce Fields <bfields@fieldses.org>
Fixes: 7f024fcd5c97 ("Keep read and write fds with each nlm_file")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-21 21:24:24 +02:00
..
2019-02-13 11:53:45 -05:00
2019-07-03 17:52:09 -04:00
2019-02-13 11:53:45 -05:00
2020-12-16 07:57:37 -05:00
2021-09-04 10:25:26 -07:00
2022-07-21 21:24:24 +02:00
2021-09-17 10:35:10 -04:00