commit | d70bf7484f728704454c0566814458bf6d6c7cf3 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Oct 16 11:29:13 2020 -0400 |
committer | David Sterba <dsterba@suse.com> | Tue Dec 08 15:53:39 2020 +0100 |
tree | 7ce1404904afae0b314148e01f05e303241623c5 | |
parent | a6889caf6ec6ec32f19a02a9118410f39fc84fe2 [diff] |
btrfs: unify the ro checking for mount options We're going to be adding more options that require RDONLY, so add a helper to do the check and error out if we don't have RDONLY set. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>