Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155908
b: refs/heads/master
c: bf1fb51
h: refs/heads/master
v: v3
  • Loading branch information
Yan Zheng authored and Chris Mason committed Jul 22, 2009
1 parent cc07e95 commit 812006a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28
refs/heads/master: bf1fb512a58d7aeb41aaa40d6d2d2d29e08e506a
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2007,15 +2007,15 @@ int btrfs_shrink_device(struct btrfs_device *device, u64 new_size)
goto done;
if (ret) {
ret = 0;
goto done;
break;
}

l = path->nodes[0];
slot = path->slots[0];
btrfs_item_key_to_cpu(l, &key, path->slots[0]);

if (key.objectid != device->devid)
goto done;
break;

dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent);
length = btrfs_dev_extent_length(l, dev_extent);
Expand Down

0 comments on commit 812006a

Please sign in to comment.