diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:36:44 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:36:44 +0000 |
commit | d716d47a7a38cad7da22719e687a9c7b00867486 (patch) | |
tree | 7e24c1cbb70611686fb615ae06e6d110305de39a /libdiskfs/conch-fetch.c | |
parent | 22ed499dc8313fa5470a2b401d9f60d64c419a19 (diff) |
(iohelp_fetch_shared_data): Use diskfs_check_readonly instead of
diskfs_readonly.
Diffstat (limited to 'libdiskfs/conch-fetch.c')
-rw-r--r-- | libdiskfs/conch-fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/conch-fetch.c b/libdiskfs/conch-fetch.c index 178c8d11..9d31265c 100644 --- a/libdiskfs/conch-fetch.c +++ b/libdiskfs/conch-fetch.c @@ -39,7 +39,7 @@ iohelp_fetch_shared_data (void *arg) { /* The user can validly set the size, but block the attempt if we are readonly. */ - if (diskfs_readonly) + if (diskfs_check_readonly ()) cred->mapped->file_size = cred->po->np->dn_stat.st_size; else { @@ -51,7 +51,7 @@ iohelp_fetch_shared_data (void *arg) cred->po->filepointer = cred->mapped->xx_file_pointer; - if (!diskfs_readonly) + if (!diskfs_check_readonly ()) { if (cred->mapped->written) { |