From da3c877ec5e5d6ee20fded47cfbdc86e8706d279 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 7 Oct 1994 22:02:22 +0000 Subject: entered into RCS --- libdiskfs/conch-fetch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libdiskfs/conch-fetch.c') 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; -- cgit v1.2.3