kernels/linux-2.4.0/fs/jffs/intrep.c
/* Function used by jffs_remove_redundant_nodes() below.  This function
   classifies what kind of information a node adds to a file.  */
Function used by jffs_remove_redundant_nodes() below.  This function
classifies what kind of information a node adds to a file.
Function used by jffs_remove_redundant_nodes () below . This function classifies what kind of information a node adds to a file .
static inline __u8
jffs_classify_node(struct jffs_node *node)
{
	__u8 mod_type = JFFS_MODIFY_INODE;
	if (node->name_size) {
		mod_type |= JFFS_MODIFY_NAME;
	}
	if (node->data_size || node->removed_size) {
		mod_type |= JFFS_MODIFY_DATA;
	}
	return mod_type;
}
static inline __u8 jffs_classify_node ( struct jffs_node * node ) { __u8 mod_type = JFFS_MODIFY_INODE ; if ( node -> name_size ) { mod_type |= JFFS_MODIFY_NAME ; } if ( node -> data_size || node -> removed_size ) { mod_type |= JFFS_MODIFY_DATA ; } return mod_type ; }
Function used by jffs_remove_redundant_nodes() below.
Function used by jffs_remove_redundant_nodes () below .