David Howells 80a00ab834 fscache: Fix the volume collision wait condition
The condition that the waits in fscache_wait_on_volume_collision() are
waiting until are inverted.  This suddenly started happening on the
upstream kernel with something like the following appearing in dmesg when
running xfstests:

	CacheFiles: cachefiles: Inode already in use: Iafs,example.com,100055

Fix them by inverting the conditions.

Fixes: 62ab63352350 ("fscache: Implement volume registration")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/164251398010.3435901.943876048104930939.stgit@warthog.procyon.org.uk/ # v1
2022-01-21 21:36:28 +00:00
..
2022-01-12 13:45:12 -08:00
2021-08-19 09:02:55 +09:00
2022-01-12 13:45:12 -08:00
2022-01-12 13:45:12 -08:00
2022-01-12 13:45:12 -08:00
2021-11-09 10:02:51 -08:00
2021-10-25 19:11:50 -07:00
2022-01-12 11:11:34 -08:00
2021-12-03 18:44:06 +01:00
2021-04-12 15:04:29 +02:00
2022-01-12 15:46:11 -08:00
2022-01-12 15:46:11 -08:00
2021-11-01 10:25:27 -07:00
2022-01-12 15:46:11 -08:00
2022-01-12 11:11:34 -08:00
2022-01-12 15:46:11 -08:00
2021-11-03 09:23:25 -07:00
2022-01-11 14:26:55 -08:00
2022-01-12 13:45:12 -08:00
2022-01-11 14:26:55 -08:00
2021-12-15 15:58:40 +01:00
2022-01-10 11:48:37 -08:00
\n
2021-11-06 16:40:48 -07:00
2021-08-19 09:02:55 +09:00
2022-01-12 15:46:11 -08:00
2021-12-17 16:56:35 +09:00
2021-11-17 09:26:09 +01:00
2021-09-09 13:25:49 -07:00
2022-01-12 13:45:12 -08:00
2021-11-17 10:36:35 -05:00
2022-01-12 10:26:52 -08:00
2021-08-31 11:06:32 -07:00
2022-01-07 13:40:39 +00:00
2021-10-19 14:11:39 -04:00
2022-01-11 14:26:55 -08:00
2021-12-09 10:49:56 -08:00
2021-08-10 17:57:22 +02:00