aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-04-09 23:59:55 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-04-09 23:59:55 -0400
commitd6a771056b32146da1280f7872f6936b0c7770ea (patch)
treeeba9b67756519315758b51e1021c65ccb1874da5 /include/trace
parent171a7f21a76a0958c225b97c00a97a10390d40ee (diff)
ext4: fix miscellaneous big endian warnings
None of these result in any bug, but they makes sparse complain. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/ext4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/ext4.h b/include/trace/events/ext4.h
index 58459b785565..d0e686402df8 100644
--- a/include/trace/events/ext4.h
+++ b/include/trace/events/ext4.h
@@ -1948,7 +1948,7 @@ TRACE_EVENT(ext4_remove_blocks,
1948 __entry->to = to; 1948 __entry->to = to;
1949 __entry->partial = partial_cluster; 1949 __entry->partial = partial_cluster;
1950 __entry->ee_pblk = ext4_ext_pblock(ex); 1950 __entry->ee_pblk = ext4_ext_pblock(ex);
1951 __entry->ee_lblk = cpu_to_le32(ex->ee_block); 1951 __entry->ee_lblk = le32_to_cpu(ex->ee_block);
1952 __entry->ee_len = ext4_ext_get_actual_len(ex); 1952 __entry->ee_len = ext4_ext_get_actual_len(ex);
1953 ), 1953 ),
1954 1954
@@ -2052,7 +2052,7 @@ TRACE_EVENT(ext4_ext_remove_space,
2052 2052
2053TRACE_EVENT(ext4_ext_remove_space_done, 2053TRACE_EVENT(ext4_ext_remove_space_done,
2054 TP_PROTO(struct inode *inode, ext4_lblk_t start, int depth, 2054 TP_PROTO(struct inode *inode, ext4_lblk_t start, int depth,
2055 ext4_lblk_t partial, unsigned short eh_entries), 2055 ext4_lblk_t partial, __le16 eh_entries),
2056 2056
2057 TP_ARGS(inode, start, depth, partial, eh_entries), 2057 TP_ARGS(inode, start, depth, partial, eh_entries),
2058 2058
@@ -2071,7 +2071,7 @@ TRACE_EVENT(ext4_ext_remove_space_done,
2071 __entry->start = start; 2071 __entry->start = start;
2072 __entry->depth = depth; 2072 __entry->depth = depth;
2073 __entry->partial = partial; 2073 __entry->partial = partial;
2074 __entry->eh_entries = eh_entries; 2074 __entry->eh_entries = le16_to_cpu(eh_entries);
2075 ), 2075 ),
2076 2076
2077 TP_printk("dev %d,%d ino %lu since %u depth %d partial %u " 2077 TP_printk("dev %d,%d ino %lu since %u depth %d partial %u "