]> git.neil.brown.name Git - history.git/commit
driverfs: decrement refcount on dentry being removed, not directory
authorPatrick Mochel <mochel@osdl.org>
Mon, 5 Aug 2002 04:13:08 +0000 (21:13 -0700)
committerPatrick Mochel <mochel@osdl.org>
Mon, 5 Aug 2002 04:13:08 +0000 (21:13 -0700)
commit7de3c5f1a9cc57e2da2b64e97e0c4032488c7d2c
tree3dd84b6a2dd2d2c1c5ec223fad72b3a0b477a124
parent8834e16cfc75444a6b37cdbf35bd280abbab94d1
driverfs: decrement refcount on dentry being removed, not directory

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.
fs/driverfs/inode.c