Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] sysfs: sysfs_remove_dir() needs to invalidate the dentry
When calling sysfs_remove_dir() don't allow any further sysfs functions to work for this kobject anymore. This fixes a nasty USB cdc-acm oops on disconnect. Many thanks to Bob Copeland and Paul Fulghum for taking the time to track this down. Cc: Bob Copeland <[email protected]> Cc: Paul Fulghum <[email protected]> Cc: Maneesh Soni <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information