diff options
author | Lukas Czerner <lczerner@redhat.com> | 2013-05-27 23:32:35 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-05-27 23:32:35 -0400 |
commit | 61801325f790ea15ba0630a7a26bd80a0741813f (patch) | |
tree | 438513561a982066c421f823377fb96825699aae /fs/ext4 | |
parent | 78fb9cdf035d88a39a5e5f83bb8788e4fe7c1f72 (diff) |
ext4: update ext4_ext_remove_space trace point
Add "end" variable.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/extents.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 18c3f1a131b3..fb9b41483c86 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -2663,7 +2663,7 @@ int ext4_ext_remove_space(struct inode *inode, ext4_lblk_t start, | |||
2663 | return PTR_ERR(handle); | 2663 | return PTR_ERR(handle); |
2664 | 2664 | ||
2665 | again: | 2665 | again: |
2666 | trace_ext4_ext_remove_space(inode, start, depth); | 2666 | trace_ext4_ext_remove_space(inode, start, end, depth); |
2667 | 2667 | ||
2668 | /* | 2668 | /* |
2669 | * Check if we are removing extents inside the extent tree. If that | 2669 | * Check if we are removing extents inside the extent tree. If that |
@@ -2831,8 +2831,8 @@ again: | |||
2831 | } | 2831 | } |
2832 | } | 2832 | } |
2833 | 2833 | ||
2834 | trace_ext4_ext_remove_space_done(inode, start, depth, partial_cluster, | 2834 | trace_ext4_ext_remove_space_done(inode, start, end, depth, |
2835 | path->p_hdr->eh_entries); | 2835 | partial_cluster, path->p_hdr->eh_entries); |
2836 | 2836 | ||
2837 | /* If we still have something in the partial cluster and we have removed | 2837 | /* If we still have something in the partial cluster and we have removed |
2838 | * even the first extent, then we should free the blocks in the partial | 2838 | * even the first extent, then we should free the blocks in the partial |