diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:46:25 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:46:25 +0000 |
commit | ceb410e857cbc16464398507d200163d67c7abde (patch) | |
tree | e7436fafaced968ceebe95e0eacb2c2796afabb7 /libdiskfs | |
parent | ae11f05490af379f1752babfa879472aca7463c8 (diff) |
(_diskfs_rdwr_internal): Use diskfs_check_readonly instead of diskfs_readonly.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/rdwr-internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/rdwr-internal.c b/libdiskfs/rdwr-internal.c index a458810f..9fe42ade 100644 --- a/libdiskfs/rdwr-internal.c +++ b/libdiskfs/rdwr-internal.c @@ -41,7 +41,7 @@ _diskfs_rdwr_internal (struct node *np, if (dir) assert (!diskfs_readonly); - if (!diskfs_readonly && !notime) + if (!diskfs_check_readonly () && !notime) { if (dir) np->dn_set_mtime = 1; @@ -54,7 +54,7 @@ _diskfs_rdwr_internal (struct node *np, err = pager_memcpy (diskfs_get_filemap_pager_struct (np), memobj, offset, data, amt, prot); - if (!diskfs_readonly && !notime) + if (!diskfs_check_readonly () && !notime) { if (dir) np->dn_set_mtime = 1; |