From: Eryu Guan Date: Tue, 24 May 2011 21:09:58 +0000 (-0400) Subject: jbd2: Fix comment to match the code in jbd2__journal_start() X-Git-Tag: MMI-PSA29.97-13-9~19454^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c867516de5256e9cfba2ec5847fa27e0f0ddd2c5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Eryu Guan Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 20065c9f2479..9dfdf010f1df 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -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) {