diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2013-10-10 20:40:21 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 22:00:50 -0500 |
commit | e649e587cbc66287b2a4bff8b2113ad679a2b8d8 (patch) | |
tree | bd5fde951a81a3c1804679e91a82b9b2c0e40de7 /fs/btrfs/extent-tree.c | |
parent | adfa97cbdfe376b02bb3e1ea3166958fec35ca6f (diff) |
Btrfs: disallow 'btrfs {balance,replace} cancel' on ro mounts
For both balance and replace, cancelling involves changing the on-disk
state and committing a transaction, which is not a good thing to do on
read-only filesystems.
Cc: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions