]> 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)
commit9e1e5297d69cfd22a9136c0e7cc3ebf61ff9ad68
tree65d9f4020795b6a3521bf0a94922a082ae4ede6f
parent75989bc842e7714d2110d153d8ad08d3fc5a0649
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