driverfs: use dentry->d_subdirs list instead of our own list when removing directory
struct dentry already has a list of the children files in a directory, making the list in struct driver_dir_entry irrelevant. This is step one in removing it. Instead of iterating over our list, we iterate over ->d_subdirs and call driverfs_unlink on each one.
Showing
Please register or sign in to comment