summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJoel Becker <jlbec@evilplan.org>2011-02-22 10:09:49 +0100
committerJoel Becker <jlbec@evilplan.org>2011-05-18 12:30:58 +0200
commitdf7f99670a4c76f269ae57ce91876b309417a316 (patch)
tree5af5b63ab22089f32f1f464035df061bc2955e8e /ipc
parentocfs2/dlm: Target node death during resource migration leads to thread spin (diff)
downloadlinux-df7f99670a4c76f269ae57ce91876b309417a316.tar.xz
linux-df7f99670a4c76f269ae57ce91876b309417a316.zip
configfs: Don't try to d_delete() negative dentries.
When configfs is faking mkdir() on its subsystem or default group objects, it starts by adding a negative dentry. It then tries to instantiate the group. If that should fail, it must clean up after itself. I was using d_delete() here, but configfs_attach_group() promises to return an empty dentry on error. d_delete() explodes with the entry dentry. Let's try d_drop() instead. The unhashing is what we want for our dentry. Signed-off-by: Joel Becker <jlbec@evilplan.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions