aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/readonly.c
Commit message (Collapse)AuthorAgeFilesLines
* Modernize code by removing use of old style definitions.Flavio Cruz2023-04-031-1/+1
| | | | | Also add -Werror=old-style-definition to enforce new code. Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
* 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-281-9/+7
| | | | | * io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate. * readonly.c (diskfs_set_readonly): Likewise.
* Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-301-2/+7
| | | | | | | | | | * diskfs.h (diskfs_hard_readonly): New variable. (diskfs_readonly): Doc change. * readonly.c (diskfs_readonly): Provide initialized declaration. (diskfs_check_readonly): If we cannot write the media and so we switch to readonly, set diskfs_hard_readonly too. (diskfs_set_readonly): If diskfs_hard_readonly is set, then inhibit any attempt to clear readonly status.
* (diskfs_check_readonly):Miles Bader1996-09-231-1/+1
| | | | Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
* *** empty log message ***Thomas Bushnell1996-08-121-1/+12
|
* (diskfs_check_readonly): And do it synchronously.Michael I. Bushnell1996-06-241-1/+1
|
* (_diskfs_diskdirty): New var.Michael I. Bushnell1996-06-241-0/+19
| | | | | (diskfs_check_readonly): New function. (diskfs_set_readonly): After clean sync, clear _diskfs_diskdirty.
* (diskfs_set_readonly): Don't sleep(1) after syncing.Miles Bader1996-03-071-1/+0
|
* (diskfs_set_readonly): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-28/+30
|
* Initial revisionMiles Bader1995-10-191-0/+77