summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-11-21 01:50:58 -0600
committerPatrick Mochel <mochel@osdl.org>2002-11-21 01:50:58 -0600
commit35551cf5753fe89869f24fc06f6b787b02a10acc (patch)
tree7a1d6af75ffb6f43452b9e3e47c48dca2542c0b0 /include
parent24fbb9949b3a3e6008981532a49d0774619854a4 (diff)
sysfs: fix file deletion again.
After looking into again, I realize that I was again getting file and directory deletion a little wrong. This patch should go back to mimmicking the VFS again. - The extra dget() in sysfs_mknod() and sysfs_symlink() has been readded. This is identical to the way ramfs does creation. - We do d_delete() after simple_unlink() and simple_rmdir(), instead of d_invalidate() before it. This is how vfs_rmdir() and vfs_unlink() do it, and the way we used to.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions