author: Dave Wysochanski <dwysocha@redhat.com> 2021-10-01 15:37:31 +0100
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-10-02 10:03:28 -0700
commit: 6e9bfdcf0a3b1c8126878c21adcfc343f89d4a6a
parent: cdc1e6e225e3256d56dc6648411630e71d7c776b
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/include/trace/events/cachefiles.h b/include/trace/events/cachefiles.h
index 9a448fe9355d..695bfdbfdcad 100644
--- a/include/trace/events/cachefiles.h
+++ b/include/trace/events/cachefiles.h
@@ -305,7 +305,7 @@ TRACE_EVENT(cachefiles_mark_buried,
),
TP_fast_assign(
- __entry->obj = obj->fscache.debug_id;
+ __entry->obj = obj ? obj->fscache.debug_id : UINT_MAX;
__entry->de = de;
__entry->why = why;
),