Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id38724f701ee8aca8f0fecf231d8d4027f0bd885
#include <common/defaults.h>
#include <common/error.h>
+#include <common/fs-handle-internal.h>
#include <common/hashtable/hashtable.h>
#include <common/hashtable/utils.h>
#include <common/macros.h>
-#include <common/fs-handle-internal.h>
+#include <common/optional.h>
#include "fd-tracker.h"
#include "inode.h"
struct open_properties {
int flags;
- struct {
- bool is_set;
- mode_t value;
- } mode;
+ LTTNG_OPTIONAL(mode_t) mode;
};
/*