/* * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License version 2. */#ifndef __RECOVERY_DOT_H__#define __RECOVERY_DOT_H__#include "incore.h"externstructworkqueue_struct*gfs_recovery_wq;staticinlinevoidgfs2_replay_incr_blk(structgfs2_sbd*sdp,unsignedint*blk){if(++*blk==sdp->sd_jdesc->jd_blocks)*blk=0;}externintgfs2_replay_read_block(structgfs2_jdesc*jd,unsignedintblk,structbuffer_head**bh);externintgfs2_revoke_add(structgfs2_sbd*sdp,u64blkno,unsignedintwhere);externintgfs2_revoke_check(structgfs2_sbd*sdp,u64blkno,unsignedintwhere);externvoidgfs2_revoke_clean(structgfs2_sbd*sdp);externintgfs2_find_jhead(structgfs2_jdesc*jd,structgfs2_log_header_host*head);externintgfs2_recover_journal(structgfs2_jdesc*gfs2_jd,boolwait);externvoidgfs2_recover_func(structwork_struct*work);#endif /* __RECOVERY_DOT_H__ */