release/src/linux/linux/fs/jffs/intrep.c
/* Unlink a jffs_node from the range list it is in.  */
Unlink a jffs_node from the range list it is in.
Unlink a jffs_node from the range list it is in .
static inline void
jffs_unlink_node_from_range_list(struct jffs_file *f, struct jffs_node *node)
{
	if (node->range_prev) {
		node->range_prev->range_next = node->range_next;
	}
	else {
		f->range_head = node->range_next;
	}
	if (node->range_next) {
		node->range_next->range_prev = node->range_prev;
	}
	else {
		f->range_tail = node->range_prev;
	}
}
static inline void jffs_unlink_node_from_range_list ( struct jffs_file * f , struct jffs_node * node ) { if ( node -> range_prev ) { node -> range_prev -> range_next = node -> range_next ; } else { f -> range_head = node -> range_next ; } if ( node -> range_next ) { node -> range_next -> range_prev = node -> range_prev ; } else { f -> range_tail = node -> range_prev ; } }
Unlink a jffs_node from the range list it is in.
Unlink a jffs_node from the range list it is in .