projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5112feb
)
btrfs: alloc_reserved_file_extent trace point should use extent_root
author
Jeff Mahoney
<jeffm@suse.com>
Wed, 22 Jun 2016 22:54:27 +0000
(18:54 -0400)
committer
David Sterba
<dsterba@suse.com>
Tue, 6 Dec 2016 15:06:57 +0000
(16:06 +0100)
Even though a separate root is passed in, we're still operating on the
extent root. Let's use that for the trace point.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index e4b3fc07f1625e47dadef1922716595eba6e9506..e8b8e309e4abbc339db6ed185cb121b78fc96463 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-8105,7
+8105,8
@@
static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
ins->objectid, ins->offset);
BUG();
}
- trace_btrfs_reserved_extent_alloc(root, ins->objectid, ins->offset);
+ trace_btrfs_reserved_extent_alloc(fs_info->extent_root,
+ ins->objectid, ins->offset);
return ret;
}