Fix: statedump: missing locking, use lttng_iterate_fd
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 25 Jan 2013 17:25:38 +0000 (12:25 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 25 Jan 2013 17:25:38 +0000 (12:25 -0500)
commit361c023a0d376536a894ca34344cb626905ad0ab
treef66074982fc3f61247a939340fd127e14a21a7e3
parent83f9bb7fb160c240d76b22bd049bb9ab57a37f55
Fix: statedump: missing locking, use lttng_iterate_fd

- Take a spinlock around use of dentry->d_name.name.
- Use lttng_iterate_fd wrapper (and thus iterate_fd() from Linux kernels
  from v3.7 and onward).

Suggested-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
lttng-statedump-impl.c
This page took 0.025861 seconds and 4 git commands to generate.