]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Make read_only a mount option again, but hidden
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Jun 2024 22:10:47 +0000 (18:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:16 +0000 (19:00 -0400)
commitb1d63b06e8398eb048dcc455acc628e6655d7499
tree055d458cccaa7dd453f06f18fcaed679d5b313e8
parent9d9d212e26399c04c567c232f500179cbdc8dc7e
bcachefs: Make read_only a mount option again, but hidden

fsck passes read_only as a mount option, and it's required for
nochanges, which it also uses.

Usually read_only is handled by the VFS, but we need to be able to
handle it too; we just don't want to print it out twice, so mark it as a
hidden option.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/chardev.c
fs/bcachefs/fs.c
fs/bcachefs/opts.h