summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2017-10-26 15:28:37 +0800
committerDavid Sterba <dsterba@suse.com>2017-11-14 15:59:00 +0100
commitda2659b090af383dea6dec71d2d4e128c643d455 (patch)
treef0b8ee3daf7906de8f57fae8da5d457fb2cb0a5c /m4
parentfec462240d7722a5952969a1b4c39ce719661ed7 (diff)
btrfs-progs: convert: Open the fs readonly for rollback
For rollback, we only needs to open the fs to check if it meets the condition to rollback. And this RW read makes us failed to rollback btrfs with v2 space cache. In fact, we don't even start a transaction during rollback. So open the fs RO for rollback, to avoid v2 space cache problem. Reported-by: Gu Jinxiang <gujx@cn.fujitsu.com> Reviewed-by: Gu JinXiang <gujx@cn.fujitsu.com> Tested-by: Gu JinXiang <gujx@cn.fujitsu.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions