Skip to content

Commit

Permalink
GFS2: Remove lock_kernel from gfs2_put_super()
Browse files Browse the repository at this point in the history
It is not required here.

Signed-off-by: Steven Whitehouse <swhiteho@redhat,com>
Cc: Christoph Hellwig <[email protected]>
  • Loading branch information
swhiteho committed Jun 12, 2009
1 parent 6399777 commit 3ea4005
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/gfs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,6 @@ static void gfs2_put_super(struct super_block *sb)
int error;
struct gfs2_jdesc *jd;

lock_kernel();

/* Unfreeze the filesystem, if we need to */

mutex_lock(&sdp->sd_freeze_lock);
Expand Down Expand Up @@ -787,8 +785,6 @@ static void gfs2_put_super(struct super_block *sb)

/* At this point, we're through participating in the lockspace */
gfs2_sys_fs_del(sdp);

unlock_kernel();
}

/**
Expand Down

0 comments on commit 3ea4005

Please sign in to comment.