• Patrick Mochel's avatar
    driverfs: decrement refcount on dentry being removed, not directory · 7de3c5f1
    Patrick Mochel authored
    This brain fart is left over from some cleanup of these functions a _long_ 
    time ago. We need to dput() the dentry, since we have an implicit count of
    one left over from the create function.
    
    Instead, we were dput() on the directory that it was in, which we didn't 
    have a matching dget() for. 
    7de3c5f1
inode.c 16.5 KB