• Patrick Mochel's avatar
    sysfs: fix up directory removal, once and for all. · 1cdccc69
    Patrick Mochel authored
    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.
    1cdccc69
dir.c 2.83 KB