diff options
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/ext4.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/trace/events/ext4.h b/include/trace/events/ext4.h index 01e9e0076a92..6a1fcff95f7c 100644 --- a/include/trace/events/ext4.h +++ b/include/trace/events/ext4.h | |||
@@ -796,8 +796,9 @@ DECLARE_EVENT_CLASS(ext4__mballoc, | |||
796 | ), | 796 | ), |
797 | 797 | ||
798 | TP_fast_assign( | 798 | TP_fast_assign( |
799 | __entry->dev = ac->ac_inode->i_sb->s_dev; | 799 | __entry->dev = ac->ac_sb->s_dev; |
800 | __entry->ino = ac->ac_inode->i_ino; | 800 | __entry->ino = ac->ac_inode ? |
801 | ac->ac_inode->i_ino : 0; | ||
801 | __entry->result_logical = ac->ac_b_ex.fe_logical; | 802 | __entry->result_logical = ac->ac_b_ex.fe_logical; |
802 | __entry->result_start = ac->ac_b_ex.fe_start; | 803 | __entry->result_start = ac->ac_b_ex.fe_start; |
803 | __entry->result_group = ac->ac_b_ex.fe_group; | 804 | __entry->result_group = ac->ac_b_ex.fe_group; |