David Howells 449ac55146
fscache: Fix error handling in fscache_begin_operation()
Fix fscache_begin_operation() to clear cres->cache_priv on error, otherwise
fscache_resources_valid() will report it as being valid.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/3933237.1710514106@warthog.procyon.org.uk
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reported-by: Marc Dionne <marc.dionne@auristor.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-03-18 10:33:48 +01:00
..
2024-01-11 20:11:35 -08:00
2024-03-11 10:52:34 -07:00
2024-03-12 12:28:34 -07:00
2024-02-25 12:05:21 +01:00
2024-03-12 13:17:36 -07:00
\n
2024-03-13 14:30:58 -07:00
\n
2024-03-13 14:30:58 -07:00
\n
2024-03-13 14:30:58 -07:00
2024-03-11 10:37:45 -07:00
2023-12-29 11:58:34 -08:00
2024-03-11 09:38:17 -07:00
2024-03-11 09:38:17 -07:00
2024-03-04 18:35:21 +01:00
\n
2024-03-13 14:30:58 -07:00
2024-02-08 21:19:59 +01:00
2024-03-12 14:27:37 -07:00
2024-03-12 20:03:34 -07:00
\n
2024-03-13 14:30:58 -07:00
2024-03-11 09:38:17 -07:00
\n
2024-03-13 14:30:58 -07:00
2024-03-11 10:52:34 -07:00
2024-03-13 13:15:24 -07:00
2024-03-12 17:44:08 -07:00
2024-03-13 13:52:24 -07:00
2024-03-12 20:03:34 -07:00
2023-10-30 19:28:19 -10:00
2024-03-11 10:07:03 -07:00
2024-03-06 10:52:12 +01:00
2024-03-11 09:38:17 -07:00
2024-03-12 17:44:08 -07:00
2024-03-12 14:45:12 -07:00
2024-03-11 10:07:03 -07:00
2024-03-12 20:03:34 -07:00
2023-12-12 14:24:14 +01:00
2024-03-11 10:07:03 -07:00
2024-03-13 12:53:53 -07:00
2024-02-12 13:13:59 +01:00
2024-03-13 12:53:53 -07:00
2024-03-13 12:53:53 -07:00
2024-03-11 10:21:06 -07:00
2024-03-12 20:03:34 -07:00
2024-03-13 12:53:53 -07:00
2024-03-12 20:03:34 -07:00
2024-03-13 12:53:53 -07:00
2024-02-02 13:11:49 +01:00
2024-03-12 20:03:34 -07:00
2024-01-08 10:57:34 -08:00
2024-03-18 10:32:44 +01:00
2024-01-17 13:03:37 -08:00
2024-02-15 23:43:47 -05:00