From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Fri, 12 Jun 2009 13:52:37 +0100 Subject: [Cluster-devel] [PATCH 2/2] GFS2: Remove lock_kernel from gfs2_put_super() In-Reply-To: <1244811157-7558-2-git-send-email-swhiteho@redhat.com> References: <1244811157-7558-1-git-send-email-swhiteho@redhat.com> <1244811157-7558-2-git-send-email-swhiteho@redhat.com> Message-ID: <1244811157-7558-3-git-send-email-swhiteho@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit It is not required here. Signed-off-by: Steven Whitehouse Cc: Christoph Hellwig diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index c8930b3..0a68013 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -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); @@ -787,8 +785,6 @@ restart: /* At this point, we're through participating in the lockspace */ gfs2_sys_fs_del(sdp); - - unlock_kernel(); } /** -- 1.6.0.6