Btrfs: skip readonly root for snapshot-aware defragment
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Sat, 8 Feb 2014 15:46:35 +0000 (23:46 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:34 +0000 (15:16 -0400)
commitbcbba5e6593281adc234938b42d3c3d3570335db
tree45e554aa301ef7315f0f9026bfaa431b560c5fda
parent850a8cdffe41abec9e3319d7801c49eced0778a1
Btrfs: skip readonly root for snapshot-aware defragment

Btrfs send is assuming readonly root won't change, let's skip readonly root.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/inode.c