]> Git Repo - linux.git/commit
Btrfs: disallow 'btrfs {balance,replace} cancel' on ro mounts
authorIlya Dryomov <[email protected]>
Thu, 10 Oct 2013 17:40:21 +0000 (20:40 +0300)
committerChris Mason <[email protected]>
Tue, 12 Nov 2013 03:00:50 +0000 (22:00 -0500)
commite649e587cbc66287b2a4bff8b2113ad679a2b8d8
treebd5fde951a81a3c1804679e91a82b9b2c0e40de7
parentadfa97cbdfe376b02bb3e1ea3166958fec35ca6f
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 <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/dev-replace.c
fs/btrfs/volumes.c
This page took 0.052328 seconds and 4 git commands to generate.