diff options
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index efb1087d0fa8..a065f7667238 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c | |||
@@ -79,7 +79,7 @@ static void buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) | |||
79 | gfs2_trans_add_gl(bd->bd_gl); | 79 | gfs2_trans_add_gl(bd->bd_gl); |
80 | 80 | ||
81 | gfs2_meta_check(sdp, bd->bd_bh); | 81 | gfs2_meta_check(sdp, bd->bd_bh); |
82 | gfs2_meta_pin(sdp, bd->bd_bh); | 82 | gfs2_pin(sdp, bd->bd_bh); |
83 | 83 | ||
84 | gfs2_log_lock(sdp); | 84 | gfs2_log_lock(sdp); |
85 | sdp->sd_log_num_buf++; | 85 | sdp->sd_log_num_buf++; |
@@ -169,7 +169,7 @@ static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) | |||
169 | list_del_init(&bd->bd_le.le_list); | 169 | list_del_init(&bd->bd_le.le_list); |
170 | sdp->sd_log_num_buf--; | 170 | sdp->sd_log_num_buf--; |
171 | 171 | ||
172 | gfs2_meta_unpin(sdp, bd->bd_bh, ai); | 172 | gfs2_unpin(sdp, bd->bd_bh, ai); |
173 | } | 173 | } |
174 | gfs2_assert_warn(sdp, !sdp->sd_log_num_buf); | 174 | gfs2_assert_warn(sdp, !sdp->sd_log_num_buf); |
175 | } | 175 | } |