You are both right, it should definitely be done in a cleaner way. Thomas or I will address it when we get the time. It is the case that most uses should call diskfs_check_readonly rather than using the variable.
- Re: Bug#60807: fgetpos() fails on read only filesyste... Chris Lingard
- diskfs readonly confusion? (was: Re: Bug#60807: ... Marcus Brinkmann
- patch to fix io-seek on readonly stores Marcus Brinkmann
- Re: patch to fix io-seek on readonly sto... Olivier Galibert
- Re: patch to fix io-seek on readonly... Marcus Brinkmann
- Re: patch to fix io-seek on rea... Roland McGrath
- Re: patch to fix io-seek on rea... Thomas Bushnell, BSG

