On Mon, Apr 28, 2025 at 02:54:59PM +0200, Carlos Maiolino wrote: > > BLK_OPEN_RESTRICT_WRITES disallows other writers to mounted devs, and I > > presume we want this for read-only mounts as well? > > Thanks, it wasn't really clear to me what the purpose of RESTRICT_WRITES was, > thanks for the clarification, this looks good to me: It also mastches what most other file systems are doing by using the sb_open_mode helper. Thinking about tht we should probably use it as well as the superblock is available in mp->m_super here.