diff options
author | Miles Bader <miles@gnu.org> | 1996-10-12 02:46:41 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-10-12 02:46:41 +0000 |
commit | d0ccc990c8d647b7b839608d57e8b1127122a642 (patch) | |
tree | 6e92d7f5f86f1e0ab6e1b3d52af9321d04321076 | |
parent | 021aa6521346f5b8005dcf40a2e38e7c20707762 (diff) |
(OPENONLY_STATE_MODES): Add O_EXLOCK & O_SHLOCK.
-rw-r--r-- | libdiskfs/priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h index 0f14ca3a..fb56af65 100644 --- a/libdiskfs/priv.h +++ b/libdiskfs/priv.h @@ -114,6 +114,7 @@ extern fshelp_fetch_root_callback2_t _diskfs_translator_callback2; #define HONORED_STATE_MODES (O_APPEND|O_ASYNC|O_FSYNC|O_NONBLOCK|O_NOATIME) /* Bits that are turned off after open */ -#define OPENONLY_STATE_MODES (O_CREAT|O_EXCL|O_NOLINK|O_NOTRANS|O_NONBLOCK) +#define OPENONLY_STATE_MODES \ + (O_CREAT|O_EXCL|O_NOLINK|O_NOTRANS|O_NONBLOCK|O_EXLOCK|O_SHLOCK) #endif |