]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: disallow some operations on the device replace target device
authorStefan Behrens <sbehrens@giantdisaster.de>
Mon, 5 Nov 2012 17:29:28 +0000 (18:29 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:39 +0000 (17:15 -0500)
commitda29c2782be63424e692b68942d495fb5391f289
tree65d9f4020795b6a3521bf0a94922a082ae4ede6f
parent93dd205f4ba2f33b99d7d778845ccccbb2507242
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>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/ioctl.c
fs/btrfs/scrub.c
fs/btrfs/super.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h