kernel/include/trace/events/writeback.h
.. .. @@ -67,7 +67,7 @@ 67 67 strscpy_pad(__entry->name, 68 68 bdi_dev_name(mapping ? inode_to_bdi(mapping->host) : 69 69 NULL), 32); 70 - __entry->ino = mapping ? mapping->host->i_ino : 0;70 + __entry->ino = (mapping && mapping->host) ? mapping->host->i_ino : 0;71 71 __entry->index = page->index; 72 72 ), 73 73