/* Walk the tree, resetting CONFIGFS_USET_DROPPING wherever it was set.  */
static void configfs_detach_rollback(struct dentry *dentry)
/* Walk the tree, resetting CONFIGFS_USET_DROPPING wherever it was set.  */
static void configfs_detach_rollback(struct dentry *dentry)
{
	struct configfs_dirent *parent_sd = dentry->d_fsdata;
	struct configfs_dirent *sd;
	parent_sd->s_type &= ~CONFIGFS_USET_DROPPING;
	list_for_each_entry(sd, &parent_sd->s_children, s_sibling)
		if (sd->s_type & CONFIGFS_USET_DEFAULT)
			configfs_detach_rollback(sd->s_dentry);
}