diff options
author | 2012-05-10 18:10:38 +0800 | |
---|---|---|
committer | 2012-05-30 10:23:34 -0400 | |
commit | f8c5d0b443ff87c43ba690fa2b5bd2c9387d8624 (patch) | |
tree | 683da2f43916956f87551de7e806e69d0663ee1d /tools/perf/scripts/python | |
parent | Btrfs: finish ordered extents in their own thread (diff) | |
download | linux-dev-f8c5d0b443ff87c43ba690fa2b5bd2c9387d8624.tar.xz linux-dev-f8c5d0b443ff87c43ba690fa2b5bd2c9387d8624.zip |
Btrfs: fix wrong error returned by adding a device
Reproduce:
$ mkfs.btrfs /dev/sdb7
$ mount /dev/sdb7 /mnt/btrfs -o ro
$ btrfs dev add /dev/sdb8 /mnt/btrfs
ERROR: error adding the device '/dev/sdb8' - Invalid argument
Since we mount with readonly options, and /dev/sdb7 is not a seeding one,
a readonly notification is preferred.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Reviewed-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions