Randy Dunlap
2010-Dec-27 19:55 UTC
[Ocfs2-devel] [PATCH -next] ocfs2: fix build for OCFS2_FS_STATS not enabled
From: Randy Dunlap <randy.dunlap at oracle.com> When CONFIG_OCFS2_FS_STATS is not enabled: fs/ocfs2/cluster/tcp.c:1254: error: implicit declaration of function 'o2net_update_recv_stats' Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com> Cc: Mark Fasheh <mfasheh at suse.com> Cc: Joel Becker <joel.becker at oracle.com> Cc: ocfs2-devel at oss.oracle.com --- fs/ocfs2/cluster/tcp.c | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20101227.orig/fs/ocfs2/cluster/tcp.c +++ linux-next-20101227/fs/ocfs2/cluster/tcp.c @@ -257,6 +257,8 @@ static void o2net_update_recv_stats(stru # define o2net_update_send_stats(a, b) +# define o2net_update_recv_stats(sc) + #endif /* CONFIG_OCFS2_FS_STATS */ static inline int o2net_reconnect_delay(void)
Joel Becker
2010-Dec-27 20:52 UTC
[Ocfs2-devel] [PATCH -next] ocfs2: fix build for OCFS2_FS_STATS not enabled
On Mon, Dec 27, 2010 at 11:55:08AM -0800, Randy Dunlap wrote:> From: Randy Dunlap <randy.dunlap at oracle.com> > > When CONFIG_OCFS2_FS_STATS is not enabled: > > fs/ocfs2/cluster/tcp.c:1254: error: implicit declaration of function 'o2net_update_recv_stats' > > Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com> > Cc: Mark Fasheh <mfasheh at suse.com> > Cc: Joel Becker <joel.becker at oracle.com> > Cc: ocfs2-devel at oss.oracle.comAcked-by: Joel Becker <joel.becker at oracle.com> Do you want to push it or would you like me to? Joel -- "But all my words come back to me In shades of mediocrity. Like emptiness in harmony I need someone to comfort me." Joel Becker Senior Development Manager Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127