diff options
-rw-r--r-- | fs/nfs/nfs4trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4trace.h b/fs/nfs/nfs4trace.h index a275fba93170..708342f4692f 100644 --- a/fs/nfs/nfs4trace.h +++ b/fs/nfs/nfs4trace.h | |||
@@ -1194,7 +1194,7 @@ DECLARE_EVENT_CLASS(nfs4_inode_stateid_callback_event, | |||
1194 | TP_fast_assign( | 1194 | TP_fast_assign( |
1195 | __entry->error = error; | 1195 | __entry->error = error; |
1196 | __entry->fhandle = nfs_fhandle_hash(fhandle); | 1196 | __entry->fhandle = nfs_fhandle_hash(fhandle); |
1197 | if (inode != NULL) { | 1197 | if (!IS_ERR_OR_NULL(inode)) { |
1198 | __entry->fileid = NFS_FILEID(inode); | 1198 | __entry->fileid = NFS_FILEID(inode); |
1199 | __entry->dev = inode->i_sb->s_dev; | 1199 | __entry->dev = inode->i_sb->s_dev; |
1200 | } else { | 1200 | } else { |