projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a345da3
)
[GFS2] Fix to list_del in lops.c
author
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 22 Aug 2006 15:03:57 +0000
(11:03 -0400)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 22 Aug 2006 15:03:57 +0000
(11:03 -0400)
A list_del should have been a list_del_init in lops.c which was
resulting in incorrect status returns from list_empty().
Signed-off-by: Steven Whitheouse <swhiteho@redhat.com>
fs/gfs2/lops.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/lops.c
b/fs/gfs2/lops.c
index 04bceb75ff23bf9a010939458ac000452e2802ac..82dfc96c4f599b992fda6e2796921fb6d0d47c48 100644
(file)
--- a/
fs/gfs2/lops.c
+++ b/
fs/gfs2/lops.c
@@
-638,7
+638,7
@@
static void databuf_lo_before_commit(struct gfs2_sbd *sdp)
gfs2_log_lock(sdp);
bd1 = list_entry(started.next, struct gfs2_bufdata,
bd_le.le_list);
- list_del(&bd1->bd_le.le_list);
+ list_del
_init
(&bd1->bd_le.le_list);
sdp->sd_log_num_databuf--;
bh = bd1->bd_bh;
if (bh) {
This page took
0.025511 seconds
and
5
git commands to generate.