]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix resize a readonly device
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 21 Dec 2012 09:19:51 +0000 (09:19 +0000)
committerJosef Bacik <josef@toxicpanda.com>
Mon, 14 Jan 2013 18:52:49 +0000 (13:52 -0500)
commit7951f8c0e1e8268485ce931e61e57d3a7a47ad12
treeac27d2c6b3797a2f52cc5d34ca1d570684db3be6
parent5954b2fa6d9921ae5752c4ce22e8c91b4e6d9528
Btrfs: fix resize a readonly device

We should not resize a readonly device, fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.c