Re: [PATCH] fs,ocfs2: Move o2net_get_func_run_time underCONFIG_OCFS2_FS_STATS.

From: Joel Becker
Date: Sat Mar 26 2011 - 18:49:00 EST


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@xxxxxxxxx>

This patch is now in the merge-window branch of ocfs2.git.

Joel

--

"Here's a nickle -- get yourself a better X server."
- Keith Packard

http://www.jlbec.org/
jlbec@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/