All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Mark Fasheh <mfasheh@suse.com>,
	Joel Becker <joel.becker@oracle.com>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	ocfs2-devel@oss.oracle.com
Subject: [PATCH -next] ocfs2: fix build for OCFS2_FS_STATS not enabled
Date: Mon, 27 Dec 2010 11:55:08 -0800	[thread overview]
Message-ID: <20101227115508.8136331b.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20101227170451.a9a9f873.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@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@oracle.com>
Cc:	Mark Fasheh <mfasheh@suse.com>
Cc:	Joel Becker <joel.becker@oracle.com>
Cc:	ocfs2-devel@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)

WARNING: multiple messages have this Message-ID (diff)
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Mark Fasheh <mfasheh@suse.com>,
	Joel Becker <joel.becker@oracle.com>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH -next] ocfs2: fix build for OCFS2_FS_STATS not enabled
Date: Mon, 27 Dec 2010 11:55:08 -0800	[thread overview]
Message-ID: <20101227115508.8136331b.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20101227170451.a9a9f873.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@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@oracle.com>
Cc:	Mark Fasheh <mfasheh@suse.com>
Cc:	Joel Becker <joel.becker@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)

  parent reply	other threads:[~2010-12-27 19:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  6:04 linux-next: Tree for December 27 Stephen Rothwell
2010-12-27  8:04 ` Sedat Dilek
2010-12-27  9:11   ` Stephen Rothwell
2010-12-27  9:55     ` Sedat Dilek
2010-12-27 12:09       ` Sedat Dilek
2010-12-27 11:38 ` Mark Brown
2010-12-27 15:20   ` Stephen Rothwell
2010-12-27 15:38     ` Mark Brown
2010-12-27 14:36 ` Piotr Hosowicz
2010-12-27 14:48   ` Sedat Dilek
2010-12-27 14:57     ` Piotr Hosowicz
2010-12-27 15:08       ` Sedat Dilek
2010-12-27 15:13         ` Piotr Hosowicz
2010-12-27 15:45           ` Piotr Hosowicz
2010-12-27 16:16             ` Sedat Dilek
2010-12-28 14:27               ` Piotr Hosowicz
2010-12-28 15:09                 ` Piotr Hosowicz
2010-12-27 19:21 ` linux-next: Tree for December 27 (drivers/target/) Randy Dunlap
2010-12-27 22:47   ` Nicholas A. Bellinger
2010-12-27 19:55 ` Randy Dunlap [this message]
2010-12-27 19:55   ` [Ocfs2-devel] [PATCH -next] ocfs2: fix build for OCFS2_FS_STATS not enabled Randy Dunlap
2010-12-27 20:52   ` Joel Becker
2010-12-27 20:52     ` [Ocfs2-devel] " Joel Becker
2010-12-27 21:41     ` Randy Dunlap
2010-12-27 21:41       ` [Ocfs2-devel] " Randy Dunlap
2010-12-27 19:57 ` linux-next: Tree for December 27 (drivers/target) Randy Dunlap
2010-12-27 22:49   ` Nicholas A. Bellinger
2010-12-28 15:08     ` James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101227115508.8136331b.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=joel.becker@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mfasheh@suse.com \
    --cc=ocfs2-devel@oss.oracle.com \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.