/* gfs2_meta_wipe - make inode's buffers so they aren't dirty/pinned anymore @ip: the inode who owns the buffers @bstart: the first buffer in the run @blen: the number of buffers in the run  */
void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen)
/* gfs2_meta_wipe - make inode's buffers so they aren't dirty/pinned anymore @ip: the inode who owns the buffers @bstart: the first buffer in the run @blen: the number of buffers in the run  */
void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen)
{
	struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
	struct buffer_head *bh;
	while (blen) {
		bh = gfs2_getbuf(ip->i_gl, bstart, NO_CREATE);
		if (bh) {
			lock_buffer(bh);
			gfs2_log_lock(sdp);
			gfs2_remove_from_journal(bh, current->journal_info, 1);
			gfs2_log_unlock(sdp);
			unlock_buffer(bh);
			brelse(bh);
		}
		bstart++;
		blen--;
	}
}