Commit 59be8e72 authored by Theodore Ts'o's avatar Theodore Ts'o

ext4: change umode_t in tracepoint headers to be an explicit __u16

As requested by Al Viro, since umode_t may be changing to a u32 for
some architectures.
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
parent d59729f4
...@@ -23,7 +23,7 @@ TRACE_EVENT(ext4_free_inode, ...@@ -23,7 +23,7 @@ TRACE_EVENT(ext4_free_inode,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( umode_t, mode ) __field( __u16, mode )
__field( uid_t, uid ) __field( uid_t, uid )
__field( gid_t, gid ) __field( gid_t, gid )
__field( __u64, blocks ) __field( __u64, blocks )
...@@ -52,7 +52,7 @@ TRACE_EVENT(ext4_request_inode, ...@@ -52,7 +52,7 @@ TRACE_EVENT(ext4_request_inode,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, dir ) __field( ino_t, dir )
__field( umode_t, mode ) __field( __u16, mode )
), ),
TP_fast_assign( TP_fast_assign(
...@@ -75,7 +75,7 @@ TRACE_EVENT(ext4_allocate_inode, ...@@ -75,7 +75,7 @@ TRACE_EVENT(ext4_allocate_inode,
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( ino_t, dir ) __field( ino_t, dir )
__field( umode_t, mode ) __field( __u16, mode )
), ),
TP_fast_assign( TP_fast_assign(
...@@ -727,7 +727,7 @@ TRACE_EVENT(ext4_free_blocks, ...@@ -727,7 +727,7 @@ TRACE_EVENT(ext4_free_blocks,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( umode_t, mode ) __field( __u16, mode )
__field( __u64, block ) __field( __u64, block )
__field( unsigned long, count ) __field( unsigned long, count )
__field( int, flags ) __field( int, flags )
...@@ -1014,7 +1014,7 @@ TRACE_EVENT(ext4_forget, ...@@ -1014,7 +1014,7 @@ TRACE_EVENT(ext4_forget,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( umode_t, mode ) __field( __u16, mode )
__field( int, is_metadata ) __field( int, is_metadata )
__field( __u64, block ) __field( __u64, block )
), ),
...@@ -1041,7 +1041,7 @@ TRACE_EVENT(ext4_da_update_reserve_space, ...@@ -1041,7 +1041,7 @@ TRACE_EVENT(ext4_da_update_reserve_space,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( umode_t, mode ) __field( __u16, mode )
__field( __u64, i_blocks ) __field( __u64, i_blocks )
__field( int, used_blocks ) __field( int, used_blocks )
__field( int, reserved_data_blocks ) __field( int, reserved_data_blocks )
...@@ -1078,7 +1078,7 @@ TRACE_EVENT(ext4_da_reserve_space, ...@@ -1078,7 +1078,7 @@ TRACE_EVENT(ext4_da_reserve_space,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( umode_t, mode ) __field( __u16, mode )
__field( __u64, i_blocks ) __field( __u64, i_blocks )
__field( int, md_needed ) __field( int, md_needed )
__field( int, reserved_data_blocks ) __field( int, reserved_data_blocks )
...@@ -1112,7 +1112,7 @@ TRACE_EVENT(ext4_da_release_space, ...@@ -1112,7 +1112,7 @@ TRACE_EVENT(ext4_da_release_space,
TP_STRUCT__entry( TP_STRUCT__entry(
__field( dev_t, dev ) __field( dev_t, dev )
__field( ino_t, ino ) __field( ino_t, ino )
__field( umode_t, mode ) __field( __u16, mode )
__field( __u64, i_blocks ) __field( __u64, i_blocks )
__field( int, freed_blocks ) __field( int, freed_blocks )
__field( int, reserved_data_blocks ) __field( int, reserved_data_blocks )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment