Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ea40058 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Remove lock_kernel from gfs2_put_super()



It is not required here.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat,com>
Cc: Christoph Hellwig <hch@infradead.org>
parent 63997775
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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();
}

/**