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:
8319bfe
)
Btrfs: kill unused code in btrfs_search_forward
author
Liu Bo
<
[email protected]
>
Tue, 8 Oct 2013 10:19:43 +0000
(18:19 +0800)
committer
Chris Mason
<
[email protected]
>
Tue, 12 Nov 2013 02:59:56 +0000
(21:59 -0500)
After commit
de78b51a2852bddccd6535e9e12de65f92787a1e
(btrfs: remove cache only arguments from defrag path), @blockptr is no more
used.
Signed-off-by: Liu Bo <
[email protected]
>
Signed-off-by: Josef Bacik <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/ctree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ctree.c
b/fs/btrfs/ctree.c
index 33e9dbdd043df60a9a83c852b6f430e0526eed2a..8f3d6f893585cca6c4212468f104d7f3ff68b998 100644
(file)
--- a/
fs/btrfs/ctree.c
+++ b/
fs/btrfs/ctree.c
@@
-4914,10
+4914,8
@@
again:
* If it is too old, old, skip to the next one.
*/
while (slot < nritems) {
- u64 blockptr;
u64 gen;
- blockptr = btrfs_node_blockptr(cur, slot);
gen = btrfs_node_ptr_generation(cur, slot);
if (gen < min_trans) {
slot++;