diff options
author | David Howells <dhowells@redhat.com> | 2022-01-14 14:30:17 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-01-21 22:36:28 +0100 |
commit | 80a00ab8344f0fe4d555a1f97960215b659436e9 (patch) | |
tree | d827a31b700a4964a34963bea567e37e7457b38a /fs/cachefiles/internal.h | |
parent | Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cl... (diff) | |
download | linux-80a00ab8344f0fe4d555a1f97960215b659436e9.tar.xz linux-80a00ab8344f0fe4d555a1f97960215b659436e9.zip |
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
Diffstat (limited to 'fs/cachefiles/internal.h')
0 files changed, 0 insertions, 0 deletions