projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d5cfb
)
GFS2: Fix glock queue trace point
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 31 Jan 2011 09:38:12 +0000
(09:38 +0000)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 31 Jan 2011 09:38:12 +0000
(09:38 +0000)
Somehow this tracepoint landed up in the wrong place. This moves it
to where it should be.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/glock.c
b/fs/gfs2/glock.c
index c75d4998519ed725c31898d8c9e6853de9868a82..ddc3e1e3faafeffa9de0312dc0867b24345a5987 100644
(file)
--- a/
fs/gfs2/glock.c
+++ b/
fs/gfs2/glock.c
@@
-972,13
+972,13
@@
fail:
insert_pt = &gh2->gh_list;
}
set_bit(GLF_QUEUED, &gl->gl_flags);
+ trace_gfs2_glock_queue(gh, 1);
if (likely(insert_pt == NULL)) {
list_add_tail(&gh->gh_list, &gl->gl_holders);
if (unlikely(gh->gh_flags & LM_FLAG_PRIORITY))
goto do_cancel;
return;
}
- trace_gfs2_glock_queue(gh, 1);
list_add_tail(&gh->gh_list, insert_pt);
do_cancel:
gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list);