void cdev_purge(struct cdev *cdev)
static void cdev_purge(struct cdev *cdev)
void cdev_purge(struct cdev *cdev){	spin_lock(&cdev_lock);	while (!list_empty(&cdev->list)) {		struct inode *inode;		inode = container_of(cdev->list.next, struct inode, i_devices);		list_del_init(&inode->i_devices);		inode->i_cdev = NULL;	}	spin_unlock(&cdev_lock);}