summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-08-22 16:25:50 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-22 16:25:50 -0400
commitb8e1aabf218a2037d9d6a3256c33fc6ef96ac44c (patch)
tree2f2dc82e7b53b6316f1eee996f6d930ffb9aa4c4 /fs/gfs2/lops.c
parent08867605e1d5f575685aa2b5bf575aba3d996758 (diff)
downloadop-kernel-dev-b8e1aabf218a2037d9d6a3256c33fc6ef96ac44c.zip
op-kernel-dev-b8e1aabf218a2037d9d6a3256c33fc6ef96ac44c.tar.gz
[GFS2] Another list_del bug
Another case where list_del should be list_del_init. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r--fs/gfs2/lops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index 82dfc96..08de8b7 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -737,7 +737,7 @@ static void databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai)
while (!list_empty(head)) {
bd = list_entry(head->next, struct gfs2_bufdata, bd_le.le_list);
- list_del(&bd->bd_le.le_list);
+ list_del_init(&bd->bd_le.le_list);
sdp->sd_log_num_databuf--;
sdp->sd_log_num_jdata--;
gfs2_unpin(sdp, bd->bd_bh, ai);
OpenPOWER on IntegriCloud