projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fd-tracker: replace custom optional implementation by LTTNG_OPTIONAL
[lttng-tools.git]
/
src
/
common
/
fd-tracker
/
fd-tracker.c
diff --git
a/src/common/fd-tracker/fd-tracker.c
b/src/common/fd-tracker/fd-tracker.c
index fd557393081946b944a958983dc43643f4a2ba55..e7935138843ec5f2dcb9afbd5d1705ab13d4847d 100644
(file)
--- a/
src/common/fd-tracker/fd-tracker.c
+++ b/
src/common/fd-tracker/fd-tracker.c
@@
-28,10
+28,11
@@
#include <common/defaults.h>
#include <common/error.h>
#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/hashtable/hashtable.h>
#include <common/hashtable/utils.h>
#include <common/macros.h>
-#include <common/
fs-handle-inter
nal.h>
+#include <common/
optio
nal.h>
#include "fd-tracker.h"
#include "inode.h"
#include "fd-tracker.h"
#include "inode.h"
@@
-88,10
+89,7
@@
struct fd_tracker {
struct open_properties {
int flags;
struct open_properties {
int flags;
- struct {
- bool is_set;
- mode_t value;
- } mode;
+ LTTNG_OPTIONAL(mode_t) mode;
};
/*
};
/*
This page took
0.023723 seconds
and
5
git commands to generate.