]> err.no Git - linux-2.6/commit
devpts: add fsnotify create event
authorFlorin Malita <fmalita@gmail.com>
Tue, 8 May 2007 07:24:18 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:59 +0000 (11:14 -0700)
commit3972b7f67bf1a352a4a4c350b2245d759a41ea06
tree40eab1b1e50c25a7a94e2ba8d7c920e5980eae7a
parent1ae7075bcd805c3aa5e8f53effc63a4562d6110e
devpts: add fsnotify create event

Currently, devpts doesn't generate an fsnotify event upon pts creation
because the regular vfs paths aren't involved.  Deallocation, on the other
hand, correctly generates a nameremove event thanks to the d_delete()
invocation in devpts_pty_kill().

This patch adds the missing fsnotify_create() trigger in devpts_pty_new().

Signed-off-by: Florin Malita <fmalita@gmail.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/devpts/inode.c