From patchwork Tue Jun 7 15:12:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ma X-Patchwork-Id: 99261 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 019D6B6FBB for ; Wed, 8 Jun 2011 01:13:29 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756636Ab1FGPN1 (ORCPT ); Tue, 7 Jun 2011 11:13:27 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:39828 "HELO oproxy3-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755902Ab1FGPN1 (ORCPT ); Tue, 7 Jun 2011 11:13:27 -0400 Received: (qmail 8128 invoked by uid 0); 7 Jun 2011 15:13:26 -0000 Received: from unknown (HELO box585.bluehost.com) (66.147.242.185) by oproxy3.bluehost.com with SMTP; 7 Jun 2011 15:13:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=tao.ma; h=Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:X-Identified-User; b=ivNM3Hq94WxrMKkZbs1QQxfaWhLAZZkCVU7DWSCt1801bDCm4wrrZXlUPpQwrR89FfA5wSF/U51X7aIRemk1q9pwnJN7eHIt9oGa6/e4J7v0TfUln2v+S2SSGzlc/KGV; Received: from [221.217.51.188] (helo=taoma-laptop2.localdomain6) by box585.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1QTxy6-0000ki-MV; Tue, 07 Jun 2011 09:13:26 -0600 From: Tao Ma To: linux-ext4@vger.kernel.org Cc: Randy Dunlap , "Theodore Ts'o" Subject: [PATCH RESEND] Documentation: Remove the obsolete parameters in 2 jbd2 functions. Date: Tue, 7 Jun 2011 23:12:08 +0800 Message-Id: <1307459528-12266-1-git-send-email-tm@tao.ma> X-Mailer: git-send-email 1.7.1 In-Reply-To: <20110511145957.dff6c0ca.rdunlap@xenotime.net> References: <20110511145957.dff6c0ca.rdunlap@xenotime.net> X-Identified-User: {1390:box585.bluehost.com:colyli:tao.ma} {sentby:smtp auth 221.217.51.188 authed with tm@tao.ma} Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Tao Ma 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 Cc: "Theodore Ts'o" Signed-off-by: Tao Ma --- fs/jbd2/transaction.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) 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