linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: Remove the obsolete parameters in 2 jbd2 functions.
@ 2011-05-11 14:18 Tao Ma
  2011-05-11 14:56 ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: Tao Ma @ 2011-05-11 14:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-doc, Jan Kara, Randy Dunlap

From: Tao Ma <boyu.mt@taobao.com>

credits isn't a parameter for jbd2_journal_get_write_access and
jbd2_journal_get_undo_access. So remove the corresponding comments.

Cc: Jan Kara <jack@suse.cz>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
---
 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 05fa77a..0a82612 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -813,7 +813,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.
  *
@@ -931,7 +930,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
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: Remove the obsolete parameters in 2 jbd2 functions.
  2011-05-11 14:18 [PATCH] Documentation: Remove the obsolete parameters in 2 jbd2 functions Tao Ma
@ 2011-05-11 14:56 ` Jan Kara
  2011-05-11 21:59   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kara @ 2011-05-11 14:56 UTC (permalink / raw)
  To: Tao Ma; +Cc: linux-kernel, linux-doc, Jan Kara, Randy Dunlap, tytso

On Wed 11-05-11 22:18:41, Tao Ma wrote:
> From: Tao Ma <boyu.mt@taobao.com>
> 
> credits isn't a parameter for jbd2_journal_get_write_access and
> jbd2_journal_get_undo_access. So remove the corresponding comments.
> 
> Cc: Jan Kara <jack@suse.cz>
> Cc: Randy Dunlap <rdunlap@xenotime.net>
> Signed-off-by: Tao Ma <boyu.mt@taobao.com>
  For JBD2 changes please CC also Ted Ts'o <tytso@mit.edu> since he is
merging JBD2 patches. The patch is fine. Thanks.

								Honza
> ---
>  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 05fa77a..0a82612 100644
> --- a/fs/jbd2/transaction.c
> +++ b/fs/jbd2/transaction.c
> @@ -813,7 +813,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.
>   *
> @@ -931,7 +930,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
> -- 
> 1.7.1
> 
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: Remove the obsolete parameters in 2 jbd2 functions.
  2011-05-11 14:56 ` Jan Kara
@ 2011-05-11 21:59   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-05-11 21:59 UTC (permalink / raw)
  To: Jan Kara; +Cc: Tao Ma, linux-kernel, linux-doc, tytso

On Wed, 11 May 2011 16:56:04 +0200 Jan Kara wrote:

> On Wed 11-05-11 22:18:41, Tao Ma wrote:
> > From: Tao Ma <boyu.mt@taobao.com>
> > 
> > credits isn't a parameter for jbd2_journal_get_write_access and
> > jbd2_journal_get_undo_access. So remove the corresponding comments.
> > 
> > Cc: Jan Kara <jack@suse.cz>
> > Cc: Randy Dunlap <rdunlap@xenotime.net>
> > Signed-off-by: Tao Ma <boyu.mt@taobao.com>
>   For JBD2 changes please CC also Ted Ts'o <tytso@mit.edu> since he is
> merging JBD2 patches. The patch is fine. Thanks.

Yes, normally Ted should merge this patch, not me.

Ted, do you need to have it resent to you?

Thanks.

> 								Honza
> > ---
> >  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 05fa77a..0a82612 100644
> > --- a/fs/jbd2/transaction.c
> > +++ b/fs/jbd2/transaction.c
> > @@ -813,7 +813,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.
> >   *
> > @@ -931,7 +930,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
> > -- 


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-11 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 14:18 [PATCH] Documentation: Remove the obsolete parameters in 2 jbd2 functions Tao Ma
2011-05-11 14:56 ` Jan Kara
2011-05-11 21:59   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).