diff options
| author | 2020-10-16 11:29:13 -0400 | |
|---|---|---|
| committer | 2020-12-08 15:53:39 +0100 | |
| commit | d70bf7484f728704454c0566814458bf6d6c7cf3 (patch) | |
| tree | 7ce1404904afae0b314148e01f05e303241623c5 /fs/btrfs/compression.c | |
| parent | btrfs: do not start readahead for csum tree when scrubbing non-data block groups (diff) | |
| download | wireguard-linux-d70bf7484f728704454c0566814458bf6d6c7cf3.tar.xz wireguard-linux-d70bf7484f728704454c0566814458bf6d6c7cf3.zip | |
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>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
