提交 3ea40058 编写于 作者: S Steven Whitehouse

GFS2: Remove lock_kernel from gfs2_put_super()

It is not required here.
Signed-off-by: NSteven Whitehouse <swhiteho@redhat,com>
Cc: Christoph Hellwig <hch@infradead.org>
上级 63997775
......@@ -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 @@ 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();
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册