res = bond_create_sysfs_entry(bond_dev->priv); 
int bond_create(char *name, struct bond_params *params, struct bonding **newbond){	struct net_device *bond_dev;	int res;	rtnl_lock();	bond_dev = alloc_netdev(sizeof(struct bonding), name, ether_setup);	if (!bond_dev) {		printk(KERN_ERR DRV_NAME		       ": %s: eek! can't alloc netdev!\n",		       name);		res = -ENOMEM;		goto out_rtnl;	}	/* bond_init() must be called after dev_alloc_name() (for the	 * /proc files), but before register_netdevice(), because we	 * need to set function pointers.	 */	res = bond_init(bond_dev, params);	if (res < 0) {		goto out_netdev;	}	SET_MODULE_OWNER(bond_dev);	res = register_netdevice(bond_dev);	if (res < 0) {		goto out_bond;	}	if (newbond)		*newbond = bond_dev->priv;	rtnl_unlock(); /* allows sysfs registration of net device */	goto done;out_bond:	bond_deinit(bond_dev);out_netdev:	free_netdev(bond_dev);out_rtnl:	rtnl_unlock();done:	return res;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b76cdba9cdb29b091cacb4c11534ffb2eac02f64/bond_main.c/clean/drivers/net/bonding/bond_main.c