diff options
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index e06ef8dbd4d3..9130d0d0df3c 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c | |||
@@ -74,10 +74,10 @@ static void gfs2_put_super(struct super_block *sb) | |||
74 | 74 | ||
75 | /* Unfreeze the filesystem, if we need to */ | 75 | /* Unfreeze the filesystem, if we need to */ |
76 | 76 | ||
77 | down(&sdp->sd_freeze_lock); | 77 | mutex_lock(&sdp->sd_freeze_lock); |
78 | if (sdp->sd_freeze_count) | 78 | if (sdp->sd_freeze_count) |
79 | gfs2_glock_dq_uninit(&sdp->sd_freeze_gh); | 79 | gfs2_glock_dq_uninit(&sdp->sd_freeze_gh); |
80 | up(&sdp->sd_freeze_lock); | 80 | mutex_unlock(&sdp->sd_freeze_lock); |
81 | 81 | ||
82 | kthread_stop(sdp->sd_inoded_process); | 82 | kthread_stop(sdp->sd_inoded_process); |
83 | kthread_stop(sdp->sd_quotad_process); | 83 | kthread_stop(sdp->sd_quotad_process); |