Btrfs: get write access for scrub
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 26 Nov 2012 08:48:01 +0000 (08:48 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:10 +0000 (20:46 -0500)
commitb8e95489bf0ddf767e4bd38f537e0adad16ee830
tree9e7eb03cefeaf16e2453958b46ef2c3d3e3a3dcb
parentda24927b1e1925da5c1885cb483231dabe027e15
Btrfs: get write access for scrub

We need get write access for scrub, or we will modify the R/O fs.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c