summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-03 20:21:26 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-03 20:21:26 +0000
commitf3449a0f59a3434ffed43093662d88a2cac75781 (patch)
treed5303ed596fd59d4315bf0da60081778abe7c9fb
parent01f1b140440d1c581397f44a28d4058140fc9689 (diff)
Formerly priv.h.~6~
-rw-r--r--libdiskfs/priv.h4
1 files changed, 3 insertions, 1 deletions
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)