]> git.baikalelectronics.ru Git - kernel.git/commit
devpts_pty_kill(): don't bother with d_delete()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Jul 2019 20:29:22 +0000 (16:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 3 Sep 2019 13:30:56 +0000 (09:30 -0400)
commitc794f967bcf17e0a67a6769ec58c05bed8aad29b
tree2997e5e2f33870cfa94ed048216df9b419f8b150
parent496f4a935abb61ed9bfb9afbbcdfa53e4cb995a5
devpts_pty_kill(): don't bother with d_delete()

we are not retaining dentries there anyway (simple_dentry_operations),
so d_delete()+dput() == d_drop()+dput()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/devpts/inode.c