summaryrefslogtreecommitdiff
path: root/libdiskfs/conch-fetch.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-07 22:02:22 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-07 22:02:22 +0000
commitda3c877ec5e5d6ee20fded47cfbdc86e8706d279 (patch)
treea2d4c182305582cce3c1a61fe681a6aa5a98e746 /libdiskfs/conch-fetch.c
parent99333fa11a299acc182ed20dfc907622399deeba (diff)
entered into RCS
Diffstat (limited to 'libdiskfs/conch-fetch.c')
-rw-r--r--libdiskfs/conch-fetch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdiskfs/conch-fetch.c b/libdiskfs/conch-fetch.c
index c4839ba3..164b32ea 100644
--- a/libdiskfs/conch-fetch.c
+++ b/libdiskfs/conch-fetch.c
@@ -38,7 +38,7 @@ ioserver_fetch_shared_data (void *arg)
{
/* The user can validly set the size, but block the attempt
if we are readonly. */
- if (readonly)
+ if (diskfs_readonly)
cred->mapped->file_size = cred->po->np->dn_stat.st_size;
else
{
@@ -49,12 +49,12 @@ ioserver_fetch_shared_data (void *arg)
cred->po->filepointer = cred->mapped->xx_file_pointer;
- if (!readonly)
+ if (!diskfs_readonly)
{
if (cred->mapped->written)
- cred->po->ip->dn_set_mtime = 1;
+ cred->po->np->dn_set_mtime = 1;
if (cred->mapped->accessed)
- cred->po->ip->dn_set_atime = 1;
+ cred->po->np->dn_set_atime = 1;
}
cred->mapped->written = 0;
cred->mapped->accessed = 0;