]> Git Repo - linux.git/commitdiff
jbd: Fix comment to match the code in journal_start()
authorEryu Guan <[email protected]>
Mon, 23 May 2011 16:17:34 +0000 (00:17 +0800)
committerJan Kara <[email protected]>
Mon, 23 May 2011 22:27:53 +0000 (00:27 +0200)
journal_start returns an ERR_PTR() value rather than NULL on failure.

Cc: Jan Kara <[email protected]>
Signed-off-by: Eryu Guan <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
fs/jbd/transaction.c

index 60d2319651b2c2b0f80d346d53a439f3f2513cc6..f7ee81a065dabae13e29501603a8c1726132d05c 100644 (file)
@@ -266,7 +266,8 @@ static handle_t *new_handle(int nblocks)
  * This function is visible to journal users (like ext3fs), so is not
  * called with the journal already locked.
  *
- * Return a pointer to a newly allocated handle, or NULL on failure
+ * Return a pointer to a newly allocated handle, or an ERR_PTR() value
+ * on failure.
  */
 handle_t *journal_start(journal_t *journal, int nblocks)
 {
This page took 0.0657 seconds and 4 git commands to generate.