projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce3e7f1
)
btrfs: replace path->slots[0] with otherwise unused variable 'slot'
author
Valentina Giusti
<valentina.giusti@microon.de>
Mon, 4 Nov 2013 21:34:28 +0000
(22:34 +0100)
committer
Chris Mason
<clm@fb.com>
Tue, 28 Jan 2014 21:19:35 +0000
(13:19 -0800)
Signed-off-by: Valentina Giusti <valentina.giusti@microon.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/backref.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/backref.c
b/fs/btrfs/backref.c
index 3775947429b28ea07678c4f58877bfcbb5f8bed6..826b98c211aead10735bfd2814b2317bf7e532aa 100644
(file)
--- a/
fs/btrfs/backref.c
+++ b/
fs/btrfs/backref.c
@@
-1683,8
+1683,8
@@
static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root,
btrfs_release_path(path);
leaf = path->nodes[0];
- item_size = btrfs_item_size_nr(leaf,
path->slots[0]
);
- ptr = btrfs_item_ptr_offset(leaf,
path->slots[0]
);
+ item_size = btrfs_item_size_nr(leaf,
slot
);
+ ptr = btrfs_item_ptr_offset(leaf,
slot
);
cur_offset = 0;
while (cur_offset < item_size) {