diff options
| author | Patrick Mochel <mochel@osdl.org> | 2002-11-20 07:37:09 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2002-11-20 07:37:09 -0600 |
| commit | 1b867c36d78c4386923b72a8505b0722d914680a (patch) | |
| tree | 42de2cd0122262d87e5f45a072bb211d01ef1fee /include/linux/device.h | |
| parent | f35ce67f31355a416fa95354d3711e30b587ab2e (diff) | |
sysfs: various updates.
- Don't do extra dget() when creating symlink.
This is a long-standing bug with a simple and obvious fix. We were doing
an extra dget() on the dentry after d_instantiate(). It only gets decremented
once on removal, so the dentry was never really going away, and the directory
wasn't, either.
- Use simple_unlink() instead of sysfs_unlink().
- Use simple_rmdir() instead of our own, unrolled, version.
- Remove MODULE_LICENSE(), since it's always in the kernel.
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions
