commit | 0af2c4bf5a012a40a2f9230458087d7f068339d0 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Thu Sep 28 14:51:09 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:27:58 2017 +0100 |
tree | 3e97807c2af11e495faa5ec329de37b3c3b0b595 | |
parent | 4b865cab96fe2a30ed512cf667b354bd291b3b0a [diff] |
btrfs: undo writable superblocke when sprouting fails When new device is being added to seed FS, seed FS is marked writable, but when we fail to bring in the new device, we missed to undo the writable part. This patch fixes it. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>