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>
Thu, 14 Feb 2013 23:23:31 +0000 (18:23 -0500)
commitf1c5a0bbe03c0043e44d64027215ed5c237e98ed
tree525dd6644a3f88eec2a50b0e8274d0b9fd0fa6ef
parent210555b41f4a97d27c5354e74d2dc73d8a61f2c9
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.027073 seconds and 4 git commands to generate.