We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5776a9c commit d01c6edCopy full SHA for d01c6ed
fs/nfs/nfs4trace.h
@@ -1815,7 +1815,7 @@ TRACE_EVENT(pnfs_update_layout,
1815
__entry->count = count;
1816
__entry->iomode = iomode;
1817
__entry->reason = reason;
1818
- if (lo != NULL) {
+ if (lo != NULL && pnfs_layout_is_valid(lo)) {
1819
__entry->layoutstateid_seq =
1820
be32_to_cpu(lo->plh_stateid.seqid);
1821
__entry->layoutstateid_hash =
@@ -1869,7 +1869,7 @@ DECLARE_EVENT_CLASS(pnfs_layout_event,
1869
__entry->pos = pos;
1870
1871
1872
1873
1874
1875
0 commit comments