Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344847
b: refs/heads/master
c: b564553
h: refs/heads/master
i:
  344845: 834668e
  344843: cac1289
  344839: 9e239bb
  344831: d744009
v: v3
  • Loading branch information
Zheng Liu authored and Theodore Ts'o committed Nov 8, 2012
1 parent fb28143 commit 58178d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d71c1ae23aa3e7822715c63dc242de6d73002541
refs/heads/master: b5645534ce84c21695c2f82d4d4f67cf2a67229a
4 changes: 2 additions & 2 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -3663,8 +3663,8 @@ ext4_ext_handle_uninitialized_extents(handle_t *handle, struct inode *inode,
flags, allocated);
ext4_ext_show_leaf(inode, path);

trace_ext4_ext_handle_uninitialized_extents(inode, map, allocated,
newblock);
trace_ext4_ext_handle_uninitialized_extents(inode, map, flags,
allocated, newblock);

/* get_block() before submit the IO, split the extent */
if ((flags & EXT4_GET_BLOCKS_PRE_IO)) {
Expand Down
8 changes: 4 additions & 4 deletions trunk/include/trace/events/ext4.h
Original file line number Diff line number Diff line change
Expand Up @@ -1680,10 +1680,10 @@ DEFINE_EVENT(ext4__trim, ext4_trim_all_free,
);

TRACE_EVENT(ext4_ext_handle_uninitialized_extents,
TP_PROTO(struct inode *inode, struct ext4_map_blocks *map,
TP_PROTO(struct inode *inode, struct ext4_map_blocks *map, int flags,
unsigned int allocated, ext4_fsblk_t newblock),

TP_ARGS(inode, map, allocated, newblock),
TP_ARGS(inode, map, flags, allocated, newblock),

TP_STRUCT__entry(
__field( dev_t, dev )
Expand All @@ -1699,15 +1699,15 @@ TRACE_EVENT(ext4_ext_handle_uninitialized_extents,
TP_fast_assign(
__entry->dev = inode->i_sb->s_dev;
__entry->ino = inode->i_ino;
__entry->flags = map->m_flags;
__entry->flags = flags;
__entry->lblk = map->m_lblk;
__entry->pblk = map->m_pblk;
__entry->len = map->m_len;
__entry->allocated = allocated;
__entry->newblk = newblock;
),

TP_printk("dev %d,%d ino %lu m_lblk %u m_pblk %llu m_len %u flags %d"
TP_printk("dev %d,%d ino %lu m_lblk %u m_pblk %llu m_len %u flags %x "
"allocated %d newblock %llu",
MAJOR(__entry->dev), MINOR(__entry->dev),
(unsigned long) __entry->ino,
Expand Down

0 comments on commit 58178d0

Please sign in to comment.