Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146197
b: refs/heads/master
c: 43bd123
h: refs/heads/master
i:
  146195: bd8548b
v: v3
  • Loading branch information
Frederic Weisbecker committed Jun 1, 2009
1 parent 783f778 commit 2e2b6ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbd3fbdfeecfad4e71139db05d72560c3583e2a9
refs/heads/master: 43bd1236234cacbc18d1476a9b57e7a306efddf5
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ static int init_stat_file(struct stat_session *session)

int register_stat_tracer(struct tracer_stat *trace)
{
struct stat_session *session, *node, *tmp;
struct stat_session *session, *node;
int ret;

if (!trace)
Expand All @@ -327,7 +327,7 @@ int register_stat_tracer(struct tracer_stat *trace)

/* Already registered? */
mutex_lock(&all_stat_sessions_mutex);
list_for_each_entry_safe(node, tmp, &all_stat_sessions, session_list) {
list_for_each_entry(node, &all_stat_sessions, session_list) {
if (node->ts == trace) {
mutex_unlock(&all_stat_sessions_mutex);
return -EINVAL;
Expand Down

0 comments on commit 2e2b6ec

Please sign in to comment.