From: Tao Ma Date: Mon, 13 Jun 2011 02:44:10 +0000 (-0400) Subject: jbd2: Remove obsolete parameters in the comments for some jbd2 functions X-Git-Tag: v3.0-rc5~53^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fb74cda1b5e9c6207225fda5ef7504e815ce0e0;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git jbd2: Remove obsolete parameters in the comments for some jbd2 functions credits isn't a parameter for jbd2_journal_get_write_access and jbd2_journal_get_undo_access. So remove the corresponding comments. Acked-by: Jan Kara Cc: Randy Dunlap Signed-off-by: Tao Ma Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 3eec82d..547b101 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -814,7 +814,6 @@ out: * int jbd2_journal_get_write_access() - notify intent to modify a buffer for metadata (not data) update. * @handle: transaction to add buffer modifications to * @bh: bh to be used for metadata writes - * @credits: variable that will receive credits for the buffer * * Returns an error code or 0 on success. * @@ -932,7 +931,6 @@ out: * non-rewindable consequences * @handle: transaction * @bh: buffer to undo - * @credits: store the number of taken credits here (if not NULL) * * Sometimes there is a need to distinguish between metadata which has * been committed to disk and that which has not. The ext3fs code uses