aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-11-05 12:29:28 -0500
committerJosef Bacik <jbacik@fusionio.com>2012-12-12 17:15:39 -0500
commit63a212abc2315972b245f93cb11ae3acf3c0b513 (patch)
tree65d9f4020795b6a3521bf0a94922a082ae4ede6f /fs/btrfs/ctree.h
parent5ac00addc7ac09110995fe967071d191b5981cc1 (diff)
Btrfs: disallow some operations on the device replace target device
This patch adds some code to disallow operations on the device that is used as the target for the device replace operation. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index e9dc78014f09..746cb6aa1f62 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3649,7 +3649,7 @@ int btrfs_reloc_post_snapshot(struct btrfs_trans_handle *trans,
3649/* scrub.c */ 3649/* scrub.c */
3650int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start, 3650int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
3651 u64 end, struct btrfs_scrub_progress *progress, 3651 u64 end, struct btrfs_scrub_progress *progress,
3652 int readonly); 3652 int readonly, int is_dev_replace);
3653void btrfs_scrub_pause(struct btrfs_root *root); 3653void btrfs_scrub_pause(struct btrfs_root *root);
3654void btrfs_scrub_pause_super(struct btrfs_root *root); 3654void btrfs_scrub_pause_super(struct btrfs_root *root);
3655void btrfs_scrub_continue(struct btrfs_root *root); 3655void btrfs_scrub_continue(struct btrfs_root *root);