Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cc975eb4 authored by Lukas Czerner's avatar Lukas Czerner Committed by Josef Bacik
Browse files

btrfs: get the device in write mode when deleting it



When we're deleting the device we should get it in write mode since
we're going to re-write the super block magic on that device. And it
should fail if the device is read-only.

Signed-off-by: default avatarLukas Czerner <lczerner@redhat.com>
parent cfa7a9cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment