projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop support for kernels < 4.4 from 'wrapper/fdtable.h'
[lttng-modules.git]
/
src
/
lttng-statedump-impl.c
diff --git
a/src/lttng-statedump-impl.c
b/src/lttng-statedump-impl.c
index 65efc54b2741e7dc6f2e9230e7a0760edc2929aa..9d708af9f751b59286292ff6a7edfa17735e7a08 100644
(file)
--- a/
src/lttng-statedump-impl.c
+++ b/
src/lttng-statedump-impl.c
@@
-428,7
+428,7
@@
int lttng_dump_one_fd(const void *p, struct file *file, unsigned int fd)
* the lock is taken, but we are not aware whether this is
* guaranteed or not, so play safe.
*/
* the lock is taken, but we are not aware whether this is
* guaranteed or not, so play safe.
*/
- if (fd < fdt->max_fds &&
lttng_
close_on_exec(fd, fdt))
+ if (fd < fdt->max_fds && close_on_exec(fd, fdt))
flags |= O_CLOEXEC;
if (IS_ERR(s)) {
struct dentry *dentry = file->f_path.dentry;
flags |= O_CLOEXEC;
if (IS_ERR(s)) {
struct dentry *dentry = file->f_path.dentry;
@@
-455,7
+455,7
@@
void lttng_enumerate_files(struct lttng_kernel_session *session,
{
struct lttng_fd_ctx ctx = { .page = tmp, .session = session, .files = files, };
{
struct lttng_fd_ctx ctx = { .page = tmp, .session = session, .files = files, };
-
lttng_
iterate_fd(files, 0, lttng_dump_one_fd, &ctx);
+ iterate_fd(files, 0, lttng_dump_one_fd, &ctx);
}
#ifdef LTTNG_HAVE_STATEDUMP_CPU_TOPOLOGY
}
#ifdef LTTNG_HAVE_STATEDUMP_CPU_TOPOLOGY
This page took
0.023392 seconds
and
4
git commands to generate.