Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ext2: widen trace event i_ino fields to u64

Update ext2 trace event definitions to use u64 instead of
ino_t/unsigned long for inode number fields.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260304-iino-u64-v3-6-2257ad83d372@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Jeff Layton and committed by
Christian Brauner
d19eea7c 7e35c9d7

+4 -4
+4 -4
fs/ext2/trace.h
··· 13 13 TP_ARGS(iocb, iter, ret), 14 14 TP_STRUCT__entry( 15 15 __field(dev_t, dev) 16 - __field(ino_t, ino) 16 + __field(u64, ino) 17 17 __field(loff_t, isize) 18 18 __field(loff_t, pos) 19 19 __field(size_t, count) ··· 31 31 __entry->aio = !is_sync_kiocb(iocb); 32 32 __entry->ret = ret; 33 33 ), 34 - TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zu flags %s aio %d ret %zd", 34 + TP_printk("dev %d:%d ino 0x%llx isize 0x%llx pos 0x%llx len %zu flags %s aio %d ret %zd", 35 35 MAJOR(__entry->dev), MINOR(__entry->dev), 36 36 __entry->ino, 37 37 __entry->isize, ··· 57 57 TP_ARGS(iocb, size, ret), 58 58 TP_STRUCT__entry( 59 59 __field(dev_t, dev) 60 - __field(ino_t, ino) 60 + __field(u64, ino) 61 61 __field(loff_t, isize) 62 62 __field(loff_t, pos) 63 63 __field(ssize_t, size) ··· 75 75 __entry->aio = !is_sync_kiocb(iocb); 76 76 __entry->ret = ret; 77 77 ), 78 - TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zd flags %s aio %d ret %d", 78 + TP_printk("dev %d:%d ino 0x%llx isize 0x%llx pos 0x%llx len %zd flags %s aio %d ret %d", 79 79 MAJOR(__entry->dev), MINOR(__entry->dev), 80 80 __entry->ino, 81 81 __entry->isize,