From f3449a0f59a3434ffed43093662d88a2cac75781 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 3 Feb 1994 20:21:26 +0000 Subject: Formerly priv.h.~6~ --- libdiskfs/priv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdiskfs/priv.h') diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h index 2e3db6ca..864b4271 100644 --- a/libdiskfs/priv.h +++ b/libdiskfs/priv.h @@ -89,7 +89,7 @@ diskfs_nrele (struct node *np) if (!(PROTID)) \ return EOPNOTSUPP; \ \ - if (readonly) \ + if (diskfs_readonly) \ return EROFS; \ \ np = (PROTID)->po->np; \ @@ -100,3 +100,5 @@ diskfs_nrele (struct node *np) mutex_unlock (&np->lock); \ return err; \ }) + +#define HONORED_STATE_MODES (O_APPEND|O_ASYNC|O_FSYNC|O_NONBLOCK) -- cgit v1.2.3