]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0e2481b275514cfdb52cfd4bdfcb16668ec4a834
tree23288deb876a8bdd07569d1eb8eacd38585c2932
parent2ac331535ebf0b771a9f7d8b69f064bb8367732a
[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