diff options
author | 2012-11-05 17:54:08 +0100 | |
---|---|---|
committer | 2012-12-12 17:15:38 -0500 | |
commit | 5ac00addc7ac09110995fe967071d191b5981cc1 (patch) | |
tree | a5290cc4e69c434b24c091a212d1723bae56e46c /fs/btrfs/super.c | |
parent | Btrfs: introduce a btrfs_dev_replace_item type (diff) | |
download | linux-dev-5ac00addc7ac09110995fe967071d191b5981cc1.tar.xz linux-dev-5ac00addc7ac09110995fe967071d191b5981cc1.zip |
Btrfs: disallow mutually exclusive admin operations from user mode
Btrfs admin operations that are manually started from user mode
and that cannot be executed at the same time return -EINPROGRESS.
A common way to enter and leave this locked section is introduced
since it used to be specific to the balance operation.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions