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]>