[GFS2] Initialize extent_list earlier
authorBob Peterson <rpeterso@redhat.com>
Thu, 3 Jan 2008 15:24:53 +0000 (09:24 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:17:04 +0000 (08:17 +0000)
commit0811a127cb83ad2e0355e5e3e30164d7ef0f2d65
treef1e7eacb1a8a30e47299137db25be673621b9ee0
parente5d9dc278c7f79c220e4506cc1ade2efa2ca73fd
[GFS2] Initialize extent_list earlier

Here is a patch for the latest upstream GFS2 code:
The journal extent map needs to be initialized sooner than it
currently is.  Otherwise failed mount attempts (e.g. not enough
journals, etc.) may panic trying to access the uninitialized list.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c
fs/gfs2/super.c