lops.c (32ac43f6a4ebf398c82e4b541fbe1229b2e47384) lops.c (a5b1d3fc503164bb04e2b720054ab07d8a0004fc)
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */

--- 609 unchanged lines hidden (view full) ---

618 fs_info(sdp, "jid=%u: Replayed %u of %u blocks\n",
619 jd->jd_jid, jd->jd_replayed_blocks, jd->jd_found_blocks);
620}
621
622static void revoke_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
623{
624 struct gfs2_meta_header *mh;
625 unsigned int offset;
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */

--- 609 unchanged lines hidden (view full) ---

618 fs_info(sdp, "jid=%u: Replayed %u of %u blocks\n",
619 jd->jd_jid, jd->jd_replayed_blocks, jd->jd_found_blocks);
620}
621
622static void revoke_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
623{
624 struct gfs2_meta_header *mh;
625 unsigned int offset;
626 struct list_head *head = &sdp->sd_log_le_revoke;
626 struct list_head *head = &sdp->sd_log_revokes;
627 struct gfs2_bufdata *bd;
628 struct page *page;
629 unsigned int length;
630
631 gfs2_write_revokes(sdp);
632 if (!sdp->sd_log_num_revoke)
633 return;
634

--- 21 unchanged lines hidden (view full) ---

656 }
657 gfs2_assert_withdraw(sdp, !sdp->sd_log_num_revoke);
658
659 gfs2_log_write_page(sdp, page);
660}
661
662static void revoke_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
663{
627 struct gfs2_bufdata *bd;
628 struct page *page;
629 unsigned int length;
630
631 gfs2_write_revokes(sdp);
632 if (!sdp->sd_log_num_revoke)
633 return;
634

--- 21 unchanged lines hidden (view full) ---

656 }
657 gfs2_assert_withdraw(sdp, !sdp->sd_log_num_revoke);
658
659 gfs2_log_write_page(sdp, page);
660}
661
662static void revoke_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
663{
664 struct list_head *head = &sdp->sd_log_le_revoke;
664 struct list_head *head = &sdp->sd_log_revokes;
665 struct gfs2_bufdata *bd, *tmp;
666
667 /*
668 * Glocks can be referenced repeatedly on the revoke list, but the list
669 * only holds one reference. All glocks on the list will have the
670 * GLF_REVOKES flag set initially.
671 */
672

--- 233 unchanged lines hidden ---
665 struct gfs2_bufdata *bd, *tmp;
666
667 /*
668 * Glocks can be referenced repeatedly on the revoke list, but the list
669 * only holds one reference. All glocks on the list will have the
670 * GLF_REVOKES flag set initially.
671 */
672

--- 233 unchanged lines hidden ---