From 981cf8f21c1c531b4faaa690e330cb1799dc562b Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 21:10:14 +0000 Subject: Formerly conch-set.c.~3~ --- libdiskfs/conch-set.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/conch-set.c b/libdiskfs/conch-set.c index 8ade76e1..3d238b22 100644 --- a/libdiskfs/conch-set.c +++ b/libdiskfs/conch-set.c @@ -17,6 +17,7 @@ #include "priv.h" #include +#include /* Write current values into the shared page. Callers must have the share lock on the shared page, as well as the inode toplock. @@ -40,7 +41,7 @@ ioserver_put_shared_data (void *arg) cred->mapped->xx_file_pointer = cred->po->filepointer; cred->mapped->rd_file_pointer = -1; cred->mapped->wr_file_pointer = -1; - cred->mapped->file_size = cred->po->ip->dn_stat.st_size; + cred->mapped->file_size = cred->po->np->dn_stat.st_size; cred->mapped->written = 0; cred->mapped->accessed = 0; } -- cgit v1.2.3