summaryrefslogtreecommitdiffstats
path: root/include/trace/events/nilfs2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/nilfs2.h')
-rw-r--r--include/trace/events/nilfs2.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/trace/events/nilfs2.h b/include/trace/events/nilfs2.h
index 8efc6236f5..8880c11733 100644
--- a/include/trace/events/nilfs2.h
+++ b/include/trace/events/nilfs2.h
@@ -200,7 +200,11 @@ TRACE_EVENT(nilfs2_mdt_submit_block,
__field(struct inode *, inode)
__field(unsigned long, ino)
__field(unsigned long, blkoff)
- __field(enum req_op, mode)
+ /*
+ * Use field_struct() to avoid is_signed_type() on the
+ * bitwise type enum req_op.
+ */
+ __field_struct(enum req_op, mode)
),
TP_fast_assign(