2008-03-14 00:03:40

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] jbd2: fix kernel-doc notation

From: Randy Dunlap <[email protected]>

Fix kernel-doc notation in jbd2.

Signed-off-by: Randy Dunlap <[email protected]>
---
fs/jbd2/journal.c | 5 +++--
fs/jbd2/transaction.c | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)

--- mmotm-2008-0312-2333.orig/fs/jbd2/journal.c
+++ mmotm-2008-0312-2333/fs/jbd2/journal.c
@@ -1007,13 +1007,14 @@ fail:
*/

/**
- * journal_t * jbd2_journal_init_dev() - creates an initialises a journal structure
+ * journal_t * jbd2_journal_init_dev() - creates and initialises a journal structure
* @bdev: Block device on which to create the journal
* @fs_dev: Device which hold journalled filesystem for this journal.
* @start: Block nr Start of journal.
* @len: Length of the journal in blocks.
* @blocksize: blocksize of journalling device
- * @returns: a newly created journal_t *
+ *
+ * Returns: a newly created journal_t *
*
* jbd2_journal_init_dev creates a journal which maps a fixed contiguous
* range of blocks on an arbitrary block device.
--- mmotm-2008-0312-2333.orig/fs/jbd2/transaction.c
+++ mmotm-2008-0312-2333/fs/jbd2/transaction.c
@@ -1462,7 +1462,8 @@ int jbd2_journal_stop(handle_t *handle)
return err;
}

-/**int jbd2_journal_force_commit() - force any uncommitted transactions
+/**
+ * int jbd2_journal_force_commit() - force any uncommitted transactions
* @journal: journal to force
*
* For synchronous operations: force any uncommitted transactions