Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276131
b: refs/heads/master
c: ece7d20
h: refs/heads/master
i:
  276129: 53db639
  276127: 423b277
v: v3
  • Loading branch information
Mike Fleetwood authored and David Sterba committed Nov 30, 2011
1 parent 06a4288 commit 8502f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: aa38a711a893accf5b5192f3d705a120deaa81e0
refs/heads/master: ece7d20e8be6730fbb29f4550de6b19b1a3a9387
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
}
ret = btrfs_grow_device(trans, device, new_size);
btrfs_commit_transaction(trans, root);
} else {
} else if (new_size < old_size) {
ret = btrfs_shrink_device(device, new_size);
}

Expand Down

0 comments on commit 8502f49

Please sign in to comment.