Commit e70d8450 authored by Randy Dunlap's avatar Randy Dunlap Committed by Joel Becker
Browse files

ocfs2: fix build for OCFS2_FS_STATS not enabled

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: default avatarRandy Dunlap <>
Cc:	Mark Fasheh <>
Cc:	Joel Becker <>
Signed-off-by: default avatarJoel Becker <>
parent db02754c
......@@ -257,6 +257,8 @@ static void o2net_update_recv_stats(struct o2net_sock_container *sc)
# 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment