[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110318183115.GL1703@wotan.suse.de>
Date: Fri, 18 Mar 2011 11:31:15 -0700
From: Mark Fasheh <mfasheh@...e.com>
To: Rakib Mullick <rakib.mullick@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, ocfs2-devel@....oracle.com,
Andrew Morton <akpm@...ux-foundation.org>,
Joel Becker <jlbec@...lplan.org>,
Sunil Mushran <sunil.mushran@...cle.com>
Subject: Re: [PATCH] fs,ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS.
On Fri, Mar 18, 2011 at 05:01:08PM +0600, Rakib Mullick wrote:
> When CONFIG_DEBUG_FS=y and CONFIG_OCFS2_FS_STATS=n, we get the
> following warning:
>
> fs/ocfs2/cluster/tcp.c:213:16: warning: ‘o2net_get_func_run_time’
> defined but not used
>
> Since o2net_get_func_run_time is only called from
> o2net_update_recv_stats, so move it under CONFIG_OCFS2_FS_STATS.
>
> Signed-off-by: Rakib Mullick <rakib.mullick@...il.com>
Signed-off-by: Mark Fasheh <mfasheh@...e.com>
Looks reasonable to me, thanks.
--Mark
--
Mark Fasheh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists