diff options
author | Christoph Hellwig <hch@lst.de> | 2010-05-26 11:53:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-27 22:05:02 -0400 |
commit | 7ea8085910ef3dd4f3cad6845aaa2b580d39b115 (patch) | |
tree | d9c1edb5906f943f7d70bfb4b65106e29772d379 /include/trace | |
parent | cc967be54710d97c05229b2e5ba2d00df84ddd64 (diff) |
drop unused dentry argument to ->fsync
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/ext4.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/trace/events/ext4.h b/include/trace/events/ext4.h index 5d60ad4ebf78..f5b1ba90e952 100644 --- a/include/trace/events/ext4.h +++ b/include/trace/events/ext4.h | |||
@@ -606,9 +606,9 @@ TRACE_EVENT(ext4_free_blocks, | |||
606 | ); | 606 | ); |
607 | 607 | ||
608 | TRACE_EVENT(ext4_sync_file, | 608 | TRACE_EVENT(ext4_sync_file, |
609 | TP_PROTO(struct file *file, struct dentry *dentry, int datasync), | 609 | TP_PROTO(struct file *file, int datasync), |
610 | 610 | ||
611 | TP_ARGS(file, dentry, datasync), | 611 | TP_ARGS(file, datasync), |
612 | 612 | ||
613 | TP_STRUCT__entry( | 613 | TP_STRUCT__entry( |
614 | __field( dev_t, dev ) | 614 | __field( dev_t, dev ) |
@@ -618,6 +618,8 @@ TRACE_EVENT(ext4_sync_file, | |||
618 | ), | 618 | ), |
619 | 619 | ||
620 | TP_fast_assign( | 620 | TP_fast_assign( |
621 | struct dentry *dentry = file->f_path.dentry; | ||
622 | |||
621 | __entry->dev = dentry->d_inode->i_sb->s_dev; | 623 | __entry->dev = dentry->d_inode->i_sb->s_dev; |
622 | __entry->ino = dentry->d_inode->i_ino; | 624 | __entry->ino = dentry->d_inode->i_ino; |
623 | __entry->datasync = datasync; | 625 | __entry->datasync = datasync; |