diff options
-rw-r--r-- | fs/gfs2/ops_fstype.c | 1 | ||||
-rw-r--r-- | fs/gfs2/super.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 5537798af381..43d511bba52d 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c | |||
@@ -329,7 +329,6 @@ static int map_journal_extents(struct gfs2_sbd *sdp) | |||
329 | struct buffer_head bh; | 329 | struct buffer_head bh; |
330 | int rc = 0; | 330 | int rc = 0; |
331 | 331 | ||
332 | INIT_LIST_HEAD(&jd->extent_list); | ||
333 | prev_db = 0; | 332 | prev_db = 0; |
334 | 333 | ||
335 | for (lb = 0; lb < ip->i_di.di_size >> sdp->sd_sb.sb_bsize_shift; lb++) { | 334 | for (lb = 0; lb < ip->i_di.di_size >> sdp->sd_sb.sb_bsize_shift; lb++) { |
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 5d0017d313a3..ef0562c3bc71 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -387,6 +387,7 @@ int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) | |||
387 | if (!jd) | 387 | if (!jd) |
388 | break; | 388 | break; |
389 | 389 | ||
390 | INIT_LIST_HEAD(&jd->extent_list); | ||
390 | jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1, NULL); | 391 | jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1, NULL); |
391 | if (!jd->jd_inode || IS_ERR(jd->jd_inode)) { | 392 | if (!jd->jd_inode || IS_ERR(jd->jd_inode)) { |
392 | if (!jd->jd_inode) | 393 | if (!jd->jd_inode) |