* [PATCH 2.6.12-mm1] relayfs: function docfix
@ 2005-06-22 14:27 Tom Zanussi
0 siblings, 0 replies; only message in thread
From: Tom Zanussi @ 2005-06-22 14:27 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
This patch adds missing documentation to the subbuf_start() callback.
Thanks to Mathieu Desnoyers for pointing it out.
Tom
Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
diff -urpN -X dontdiff linux-2.6.12-mm1/include/linux/relayfs_fs.h linux-2.6.12-mm1-cur/include/linux/relayfs_fs.h
--- linux-2.6.12-mm1/include/linux/relayfs_fs.h 2005-06-22 11:16:23.000000000 -0500
+++ linux-2.6.12-mm1-cur/include/linux/relayfs_fs.h 2005-06-22 11:44:46.000000000 -0500
@@ -88,6 +88,9 @@ struct rchan_callbacks
* @prev_subbuf_idx: the previous sub-buffer's index
* @prev_subbuf: the start of the previous sub-buffer
*
+ * The client should return the number of bytes it reserves at
+ * the beginning of the sub-buffer, 0 if none.
+ *
* NOTE: subbuf_start will also be invoked when the buffer is
* created, so that the first sub-buffer can be initialized
* if necessary. In this case, prev_subbuf will be NULL.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-22 14:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-22 14:27 [PATCH 2.6.12-mm1] relayfs: function docfix Tom Zanussi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®