diff options
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index eeed97d19dee..3f4bfee66d7b 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -3323,9 +3323,8 @@ static int __btrfs_alloc_chunk(struct btrfs_trans_handle *trans, | |||
3323 | cur = cur->next; | 3323 | cur = cur->next; |
3324 | 3324 | ||
3325 | if (!device->writeable) { | 3325 | if (!device->writeable) { |
3326 | printk(KERN_ERR | 3326 | WARN(1, KERN_ERR |
3327 | "btrfs: read-only device in alloc_list\n"); | 3327 | "btrfs: read-only device in alloc_list\n"); |
3328 | WARN_ON(1); | ||
3329 | continue; | 3328 | continue; |
3330 | } | 3329 | } |
3331 | 3330 | ||