[PATCH] relayfs: add support for relay files in other filesystems
authorTom Zanussi <zanussi@us.ibm.com>
Sun, 8 Jan 2006 09:02:28 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:50 +0000 (20:13 -0800)
commit08c541a7ade230883c48225f4ea406a0117e7c2f
tree23288deb876a8bdd07569d1eb8eacd38585c2932
parent925ac8a2b637466ba0ad8dfaf7b49aa9a362502f
[PATCH] relayfs: add support for relay files in other filesystems

This patch adds a couple of callback functions that allow a client to hook
into relay_open()/close() and supply the files that will be used to represent
the channel buffers; the default implementation if no callbacks are defined is
to create the files in relayfs.  This is to support the creation and use of
relay files in other filesystems such as debugfs, as implied by the fact that
relayfs_file_operations are exported.

Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/relayfs/buffers.c
fs/relayfs/relay.c
include/linux/relayfs_fs.h