diff options
| author | David Howells <[email protected]> | 2024-03-15 14:48:26 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-03-18 09:33:48 +0000 |
| commit | 449ac5514631dd9b9b66dd708dd5beb1428e2812 (patch) | |
| tree | 26b51e67139e6ac4965cb0b245948eeb681eb4b7 /lib/overflow_kunit.c | |
| parent | fs,block: get holder during claim (diff) | |
| download | kernel-449ac5514631dd9b9b66dd708dd5beb1428e2812.tar.gz kernel-449ac5514631dd9b9b66dd708dd5beb1428e2812.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jeff Layton <[email protected]>
Reported-by: Marc Dionne <[email protected]>
cc: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions
