aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-04-21 15:10:46 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-21 15:10:46 -0400
commita74604bee27da7c9506114e5710f91f388e98296 (patch)
treebfd1c8b14c03022894396c788bf8b0377c5afe49 /fs/gfs2/log.c
parenta748422ee45725e04e1d3792fa19dfa90ddfd116 (diff)
[GFS2] sem -> mutex conversion in locking.c
Convert a semaphore to a mutex in locking.c and also tidy up one or two loose ends. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 9e32e0faaf20..134fc57e21d3 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -587,10 +587,9 @@ void gfs2_log_shutdown(struct gfs2_sbd *sdp)
587 log_write_header(sdp, GFS2_LOG_HEAD_UNMOUNT, 0); 587 log_write_header(sdp, GFS2_LOG_HEAD_UNMOUNT, 0);
588 588
589 /* printk(KERN_INFO "sd_log_blks_free %u, sd_jdesc->jd_blocks %u\n", sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); */ 589 /* printk(KERN_INFO "sd_log_blks_free %u, sd_jdesc->jd_blocks %u\n", sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); */
590 gfs2_assert_withdraw(sdp, sdp->sd_log_blks_free == 590 gfs2_assert_warn(sdp, sdp->sd_log_blks_free == sdp->sd_jdesc->jd_blocks);
591 sdp->sd_jdesc->jd_blocks); 591 gfs2_assert_warn(sdp, sdp->sd_log_head == sdp->sd_log_tail);
592 gfs2_assert_withdraw(sdp, sdp->sd_log_head == sdp->sd_log_tail); 592 gfs2_assert_warn(sdp, list_empty(&sdp->sd_ail2_list));
593 gfs2_assert_withdraw(sdp, list_empty(&sdp->sd_ail2_list));
594 593
595 sdp->sd_log_head = sdp->sd_log_flush_head; 594 sdp->sd_log_head = sdp->sd_log_flush_head;
596 sdp->sd_log_tail = sdp->sd_log_head; 595 sdp->sd_log_tail = sdp->sd_log_head;