diff options
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r-- | fs/gfs2/lops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 4cbef4c23a6b..342c10e12af2 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c | |||
@@ -343,11 +343,8 @@ static void revoke_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) | |||
343 | tr = current->journal_info; | 343 | tr = current->journal_info; |
344 | tr->tr_touched = 1; | 344 | tr->tr_touched = 1; |
345 | tr->tr_num_revoke++; | 345 | tr->tr_num_revoke++; |
346 | |||
347 | gfs2_log_lock(sdp); | ||
348 | sdp->sd_log_num_revoke++; | 346 | sdp->sd_log_num_revoke++; |
349 | list_add(&le->le_list, &sdp->sd_log_le_revoke); | 347 | list_add(&le->le_list, &sdp->sd_log_le_revoke); |
350 | gfs2_log_unlock(sdp); | ||
351 | } | 348 | } |
352 | 349 | ||
353 | static void revoke_lo_before_commit(struct gfs2_sbd *sdp) | 350 | static void revoke_lo_before_commit(struct gfs2_sbd *sdp) |