diff options
| author | Thomas Bertschinger <tahbertschinger@gmail.com> | 2024-05-26 13:08:19 -0600 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-14 19:00:12 -0400 |
| commit | 03ec0927fa15e1af1268c8637f61b0ac98082907 (patch) | |
| tree | 612fc20f93f26f744b0fc663ca1a138e4bc34498 /tools/perf/scripts/python/bin | |
| parent | bcachefs: btree_ptr_sectors_written() now takes bkey_s_c (diff) | |
| download | linux-03ec0927fa15e1af1268c8637f61b0ac98082907.tar.gz linux-03ec0927fa15e1af1268c8637f61b0ac98082907.zip | |
bcachefs: make offline fsck set read_only fs flag
A subsequent change will remove "read_only" as a mount option in favor
of the standard option "ro", meaning the userspace fsck command cannot
pass it to the fsck ioctl. Instead, in offline fsck, set "read_only"
kernel-side without trying to parse it as a mount option.
For compatibility with versions of the "bcachefs fsck" command that try
to pass the "read_only" mount opt, remove it from the mount options
string prior to parsing when it is present.
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
