]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
GFS2: Remove lock_kernel from gfs2_put_super()
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 12 Jun 2009 12:40:47 +0000 (13:40 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 12 Jun 2009 12:40:47 +0000 (13:40 +0100)
It is not required here.

Signed-off-by: Steven Whitehouse <swhiteho@redhat,com>
Cc: Christoph Hellwig <hch@infradead.org>
fs/gfs2/super.c

index c8930b31cdf0b3011f80886987eedaa045c7de0d..0a68013364708dbcafe39398952defaa9f560450 100644 (file)
@@ -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();
 }
 
 /**