Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
public static final int O_CREAT = 8;
public static final int O_TRUNC = 16;
public static final int O_EXCL = 32;
+ public static final int O_WRONLY = 64;
/*
* Whence flags for seek().
#define JAVA_O_CREAT 8
#define JAVA_O_TRUNC 16
#define JAVA_O_EXCL 32
+#define JAVA_O_WRONLY 64
/*
* Whence flags for seek(). sync with CephMount.java if changed.
FIXUP_OPEN_FLAG(O_CREAT)
FIXUP_OPEN_FLAG(O_TRUNC)
FIXUP_OPEN_FLAG(O_EXCL)
+ FIXUP_OPEN_FLAG(O_WRONLY)
#undef FIXUP_OPEN_FLAG