Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361134 > unrolled thread

[PATCH] jbd2: remove excess descriptions for handle_s

Started byLuis de Bethencourt <luisbg@osg.samsung.com>
First post2016-03-19 18:10 +0100
Last post2016-03-21 09:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] jbd2: remove excess descriptions for handle_s Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-03-19 18:10 +0100
    Re: [PATCH] jbd2: remove excess descriptions for handle_s Jan Kara <jack@suse.cz> - 2016-03-21 09:50 +0100

#1361134 — [PATCH] jbd2: remove excess descriptions for handle_s

FromLuis de Bethencourt <luisbg@osg.samsung.com>
Date2016-03-19 18:10 +0100
Subject[PATCH] jbd2: remove excess descriptions for handle_s
Message-ID<resxX-2NP-5@gated-at.bofh.it>
Commit bf6993276f74 ("jbd2: Use tracepoints for history file")
removed the members j_history, j_history_max and j_history_cur from struct
handle_s but the descriptions stayed lingering. Removing them.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
Hi,

Noticed this issue when running make htmldocs.

It gives the following warnings:
.//include/linux/jbd2.h:1033: warning: Excess struct/union/enum/typedef member 'j_history' description in 'journal_s'
.//include/linux/jbd2.h:1033: warning: Excess struct/union/enum/typedef member 'j_history_max' description in 'journal_s'
.//include/linux/jbd2.h:1033: warning: Excess struct/union/enum/typedef member 'j_history_cur' description in 'journal_s'

Thanks,
Luis

 include/linux/jbd2.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index fd1083c..401792d 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -781,9 +781,6 @@ jbd2_time_diff(unsigned long start, unsigned long end)
  * @j_wbufsize: maximum number of buffer_heads allowed in j_wbuf, the
  *	number that will fit in j_blocksize
  * @j_last_sync_writer: most recent pid which did a synchronous write
- * @j_history: Buffer storing the transactions statistics history
- * @j_history_max: Maximum number of transactions in the statistics history
- * @j_history_cur: Current number of transactions in the statistics history
  * @j_history_lock: Protect the transactions statistics history
  * @j_proc_entry: procfs entry for the jbd statistics directory
  * @j_stats: Overall statistics
-- 
2.5.1

[toc] | [next] | [standalone]


#1361610

FromJan Kara <jack@suse.cz>
Date2016-03-21 09:50 +0100
Message-ID<rf3Hb-337-1@gated-at.bofh.it>
In reply to#1361134
On Sat 19-03-16 17:06:03, Luis de Bethencourt wrote:
> Commit bf6993276f74 ("jbd2: Use tracepoints for history file")
> removed the members j_history, j_history_max and j_history_cur from struct
> handle_s but the descriptions stayed lingering. Removing them.
> 
> Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>

Looks good. You can add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza

> ---
> Hi,
> 
> Noticed this issue when running make htmldocs.
> 
> It gives the following warnings:
> .//include/linux/jbd2.h:1033: warning: Excess struct/union/enum/typedef member 'j_history' description in 'journal_s'
> .//include/linux/jbd2.h:1033: warning: Excess struct/union/enum/typedef member 'j_history_max' description in 'journal_s'
> .//include/linux/jbd2.h:1033: warning: Excess struct/union/enum/typedef member 'j_history_cur' description in 'journal_s'
> 
> Thanks,
> Luis
> 
>  include/linux/jbd2.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
> index fd1083c..401792d 100644
> --- a/include/linux/jbd2.h
> +++ b/include/linux/jbd2.h
> @@ -781,9 +781,6 @@ jbd2_time_diff(unsigned long start, unsigned long end)
>   * @j_wbufsize: maximum number of buffer_heads allowed in j_wbuf, the
>   *	number that will fit in j_blocksize
>   * @j_last_sync_writer: most recent pid which did a synchronous write
> - * @j_history: Buffer storing the transactions statistics history
> - * @j_history_max: Maximum number of transactions in the statistics history
> - * @j_history_cur: Current number of transactions in the statistics history
>   * @j_history_lock: Protect the transactions statistics history
>   * @j_proc_entry: procfs entry for the jbd statistics directory
>   * @j_stats: Overall statistics
> -- 
> 2.5.1
> 
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web