/* Mark the block reservation window as not allocated, and unlink it from the filesystem reservation window rb tree. Must be called with rsv_lock hold.  */
static void rsv_window_remove(struct super_block *sb, struct ext3_reserve_window_node *rsv)
/* Mark the block reservation window as not allocated, and unlink it from the filesystem reservation window rb tree. Must be called with rsv_lock hold.  */
static void rsv_window_remove(struct super_block *sb, struct ext3_reserve_window_node *rsv)
{
	rsv->rsv_start = EXT3_RESERVE_WINDOW_NOT_ALLOCATED;
	rsv->rsv_end = EXT3_RESERVE_WINDOW_NOT_ALLOCATED;
	rsv->rsv_alloc_hit = 0;
	rb_erase(&rsv->rsv_node, &EXT3_SB(sb)->s_rsv_window_root);
}