diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-06-12 14:40:47 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-06-12 14:40:47 +0200 |
commit | 3ea400581f2b595afd91207bbd79c11cb38598e0 (patch) | |
tree | c8d1095b2cb4b516c91f93646fea4d7cb14db92f /fs | |
parent | GFS2: Add tracepoints (diff) | |
download | linux-3ea400581f2b595afd91207bbd79c11cb38598e0.tar.xz linux-3ea400581f2b595afd91207bbd79c11cb38598e0.zip |
GFS2: Remove lock_kernel from gfs2_put_super()
It is not required here.
Signed-off-by: Steven Whitehouse <swhiteho@redhat,com>
Cc: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/super.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index c8930b31cdf0..0a6801336470 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(); } /** |