Re: [PATCH] devpts: add fsnotify create event

From: H. Peter Anvin
Date: Tue Feb 27 2007 - 14:17:29 EST


Florin Malita wrote:
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@xxxxxxxxx>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/