Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276526
b: refs/heads/master
c: a5d1633
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Chris Mason committed Dec 8, 2011
1 parent dbe8feb commit a9a3755
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: 274bd4fb3ed6b72c1d77ef8850511f09fc6b8e4d
refs/heads/master: a5d16333612718569ffd26064270e535cb9c3928
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path)
if ((sb->s_flags & MS_RDONLY) && !root->fs_info->fs_devices->seeding)
return -EINVAL;

bdev = blkdev_get_by_path(device_path, FMODE_EXCL,
bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL,
root->fs_info->bdev_holder);
if (IS_ERR(bdev))
return PTR_ERR(bdev);
Expand Down

0 comments on commit a9a3755

Please sign in to comment.