rem: if (!inode->IsDirectory())
add: if (!inode->IsContainer())
context: bfs_open_dir(void *_ns, void *_node, void **_cookie){	FUNCTION();		if (_ns == NULL || _node == NULL || _cookie == NULL)		RETURN_ERROR(B_BAD_VALUE);		Inode *inode = (Inode *)_node;	if (!inode->IsDirectory())		RETURN_ERROR(B_BAD_VALUE);	BPlusTree *tree;	if (inode->GetTree(&tree) != B_OK)		RETURN_ERROR(B_BAD_VALUE);	TreeIterator *iterator = new TreeIterator(tree);	if (iterator == NULL)		RETURN_ERROR(B_NO_MEMORY);	*_cookie = iterator;	return B_OK;}