aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-05-12 14:06:02 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-05-12 14:06:02 -0400
commit9801f6461eb994e4eda29cba97f4596dffafbf32 (patch)
treee75edf27e5a3773906000998534e5c44f96d79e5 /fs/gfs2/ops_fstype.c
parente90c01e148b967d30caf59e76accb3a58ca6b74b (diff)
[GFS2] Remove incorrect initialisation of gh_owner
The gh_owner field shouldn't be set or reset outside the glock code. These were left over from when recursive locking was allowed. It isn't any more, so they are not needed. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_fstype.c')
-rw-r--r--fs/gfs2/ops_fstype.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index f252723b37d..44c64effc96 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -468,11 +468,6 @@ static int init_journal(struct gfs2_sbd *sdp, int undo)
gfs2_glock_dq_uninit(&ji_gh);
jindex = 0;
- /* Disown my Journal glock */
-
- sdp->sd_journal_gh.gh_owner = NULL;
- sdp->sd_jinode_gh.gh_owner = NULL;
-
p = kthread_run(gfs2_recoverd, sdp, "gfs2_recoverd");
error = IS_ERR(p);
if (error) {