Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Al Viro 46c46f8d 6effcab4

+1 -1
+1 -1
fs/devpts/inode.c
··· 622 622 dentry->d_fsdata = NULL; 623 623 drop_nlink(dentry->d_inode); 624 624 fsnotify_unlink(d_inode(dentry->d_parent), dentry); 625 - d_delete(dentry); 625 + d_drop(dentry); 626 626 dput(dentry); /* d_alloc_name() in devpts_pty_new() */ 627 627 } 628 628