mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
fscache: add tracepoint when failing cookie
Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
committed by
David Howells
parent
fb24771faf
commit
1a1e3aca9d
@@ -263,6 +263,8 @@ void fscache_caching_failed(struct fscache_cookie *cookie)
|
||||
{
|
||||
clear_bit(FSCACHE_COOKIE_IS_CACHING, &cookie->flags);
|
||||
fscache_set_cookie_state(cookie, FSCACHE_COOKIE_STATE_FAILED);
|
||||
trace_fscache_cookie(cookie->debug_id, refcount_read(&cookie->ref),
|
||||
fscache_cookie_failed);
|
||||
}
|
||||
EXPORT_SYMBOL(fscache_caching_failed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user