Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180056
b: refs/heads/master
c: 7f59203
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik authored and Chris Mason committed Jan 28, 2010
1 parent e7d6111 commit a41dc3a
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: f48b90756bd834dda852ff514f2690d3175b1f44
refs/heads/master: 7f59203abeaf18bf3497b308891f95a4489810ad
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1434,8 +1434,8 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path)
return -EINVAL;

bdev = open_bdev_exclusive(device_path, 0, root->fs_info->bdev_holder);
if (!bdev)
return -EIO;
if (IS_ERR(bdev))
return PTR_ERR(bdev);

if (root->fs_info->fs_devices->seeding) {
seeding_dev = 1;
Expand Down

0 comments on commit a41dc3a

Please sign in to comment.