diff options
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index f31c33119bb6..94334d952280 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -1639,7 +1639,7 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path) | |||
1639 | device->dev_root = root->fs_info->dev_root; | 1639 | device->dev_root = root->fs_info->dev_root; |
1640 | device->bdev = bdev; | 1640 | device->bdev = bdev; |
1641 | device->in_fs_metadata = 1; | 1641 | device->in_fs_metadata = 1; |
1642 | device->mode = 0; | 1642 | device->mode = FMODE_EXCL; |
1643 | set_blocksize(device->bdev, 4096); | 1643 | set_blocksize(device->bdev, 4096); |
1644 | 1644 | ||
1645 | if (seeding_dev) { | 1645 | if (seeding_dev) { |