hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/include/trace/events/writeback.h
....@@ -67,7 +67,7 @@
6767 strscpy_pad(__entry->name,
6868 bdi_dev_name(mapping ? inode_to_bdi(mapping->host) :
6969 NULL), 32);
70
- __entry->ino = mapping ? mapping->host->i_ino : 0;
70
+ __entry->ino = (mapping && mapping->host) ? mapping->host->i_ino : 0;
7171 __entry->index = page->index;
7272 ),
7373