sysfs: fix up directory removal, once and for all.
This patch was previously integrated, but dropped erroneously by a bk merge. This fixes file cleanup during a sysfs directory removal by deleting files from ->d_subdirs as they're iterated over, then checking if we can get a reference on them.
Showing
Please register or sign in to comment