Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c867516d authored by Eryu Guan's avatar Eryu Guan Committed by Theodore Ts'o
Browse files

jbd2: Fix comment to match the code in jbd2__journal_start()



jbd2__journal_start() returns an ERR_PTR() value rather than NULL on
failure.

Signed-off-by: default avatarEryu Guan <guaneryu@gmail.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 93628ffb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -316,7 +316,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 *jbd2__journal_start(journal_t *journal, int nblocks, int gfp_mask)
{