Merge tag 'configfs-for-linus' of git://git.infradead.org/users/hch/configfs
Pull configfs updates from Christoph Hellwig: - A large patch from me to simplify setting up the list of default groups by actually implementing it as a list instead of an array. - a small Y2083 prep patch from Deepa Dinamani. Probably doesn't matter on it's own, but it seems like he is trying to get rid of all CURRENT_TIME uses in file systems, which is a worthwhile goal. * tag 'configfs-for-linus' of git://git.infradead.org/users/hch/configfs: configfs: switch ->default groups to a linked list configfs: Replace CURRENT_TIME by current_fs_time()
This commit is contained in:
@@ -889,7 +889,6 @@ static void rndis_free_inst(struct usb_function_instance *f)
|
||||
free_netdev(opts->net);
|
||||
}
|
||||
|
||||
kfree(opts->rndis_os_desc.group.default_groups); /* single VLA chunk */
|
||||
kfree(opts);
|
||||
}
|
||||
|
||||
@@ -916,10 +915,10 @@ static struct usb_function_instance *rndis_alloc_inst(void)
|
||||
|
||||
descs[0] = &opts->rndis_os_desc;
|
||||
names[0] = "rndis";
|
||||
usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs,
|
||||
names, THIS_MODULE);
|
||||
config_group_init_type_name(&opts->func_inst.group, "",
|
||||
&rndis_func_type);
|
||||
usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs,
|
||||
names, THIS_MODULE);
|
||||
|
||||
return &opts->func_inst;
|
||||
}
|
||||
|
Reference in New Issue
Block a user