]> err.no Git - linux-2.6/commit
signal/timer/event fds: anonymous inode source
authorDavide Libenzi <davidel@xmailserver.org>
Fri, 11 May 2007 05:23:11 +0000 (22:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:36 +0000 (08:29 -0700)
commit5dc8bf8132d59c03fe2562bce165c2f03f021687
tree308e2acb2264c21c93d57b3fb9fb4869e162aa85
parent325aa33da784e5997c756a151bc46e9cc9b79db2
signal/timer/event fds: anonymous inode source

This patch add an anonymous inode source, to be used for files that need
and inode only in order to create a file*. We do not care of having an
inode for each file, and we do not even care of having different names in
the associated dentries (dentry names will be same for classes of file*).
This allow code reuse, and will be used by epoll, signalfd and timerfd
(and whatever else there'll be).

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/Makefile
fs/anon_inodes.c [new file with mode: 0644]
include/linux/anon_inodes.h [new file with mode: 0644]
include/linux/magic.h
init/Kconfig