Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310837
b: refs/heads/master
c: 4e42ae1
h: refs/heads/master
i:
  310835: fdbe050
v: v3
  • Loading branch information
Liu Bo authored and Chris Mason committed Jun 15, 2012
1 parent f114625 commit a5197d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc1782374b128103ae9689e0753e0610f35b6bfd
refs/heads/master: 4e42ae1bdcda77fc958a17d7ff4ba5a9c9c207da
7 changes: 7 additions & 0 deletions trunk/fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,13 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
ret = -EINVAL;
goto out_free;
}
if (device->fs_devices && device->fs_devices->seeding) {
printk(KERN_INFO "btrfs: resizer unable to apply on "
"seeding device %llu\n", devid);
ret = -EINVAL;
goto out_free;
}

if (!strcmp(sizestr, "max"))
new_size = device->bdev->bd_inode->i_size;
else {
Expand Down

0 comments on commit a5197d4

Please sign in to comment.