Re: [PATCH -mm 1/2] nilfs2: use integer type instead of enum req_op for event tracing header

From: Bart Van Assche
Date: Sun May 05 2024 - 08:47:48 EST


On 5/2/24 12:01 PM, Ryusuke Konishi wrote:
If you haven't given up yet on solving the underlying problem, I would
like to withdraw this patch.

Has this untested change been considered?

diff --git a/include/trace/events/nilfs2.h b/include/trace/events/nilfs2.h
index 8efc6236f57c..67fd2e002ca7 100644
--- a/include/trace/events/nilfs2.h
+++ b/include/trace/events/nilfs2.h
@@ -214,7 +214,7 @@ TRACE_EVENT(nilfs2_mdt_submit_block,
__entry->inode,
__entry->ino,
__entry->blkoff,
- __entry->mode)
+ (__force u32)__entry->mode)
);

#endif /* _TRACE_NILFS2_H */