From: Stephen Hemminger <shemminger@osdl.org>
To: Wensong Zhang <wensong@linux-vs.org>
Cc: lvs-users@LinuxVirtualServer.org, netdev@oss.sgi.com
Subject: [PATCH] (1/6) ipvs -- get rid of SEQ_START_TOKEN define
Date: Tue, 16 Sep 2003 14:17:31 -0700 [thread overview]
Message-ID: <20030916141731.276de60c.shemminger@osdl.org> (raw)
Applies to 2.6.0-test5 with my seq_file patches from yesterday.
Get rid of SEQ_START_TOKEN -- already defined in proc_fs.hdiff -Nru a/net/ipv4/ipvs/ip_vs_app.c b/net/ipv4/ipvs/ip_vs_app.c
--- a/net/ipv4/ipvs/ip_vs_app.c Tue Sep 16 14:08:11 2003
+++ b/net/ipv4/ipvs/ip_vs_app.c Tue Sep 16 14:08:11 2003
@@ -485,8 +485,6 @@
/*
* /proc/net/ip_vs_app entry function
*/
-#define SEQ_START_TOKEN ((void *)1)
-
static struct ip_vs_app *ip_vs_app_idx(loff_t pos)
{
loff_t off = 0;
diff -Nru a/net/ipv4/ipvs/ip_vs_conn.c b/net/ipv4/ipvs/ip_vs_conn.c
--- a/net/ipv4/ipvs/ip_vs_conn.c Tue Sep 16 14:08:11 2003
+++ b/net/ipv4/ipvs/ip_vs_conn.c Tue Sep 16 14:08:11 2003
@@ -616,8 +616,6 @@
*/
#ifdef CONFIG_PROC_FS
-#define SEQ_START_TOKEN ((void *)1)
-
static void *ip_vs_conn_array(struct seq_file *seq, loff_t pos)
{
struct list_head *e;
diff -Nru a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
--- a/net/ipv4/ipvs/ip_vs_ctl.c Tue Sep 16 14:08:11 2003
+++ b/net/ipv4/ipvs/ip_vs_ctl.c Tue Sep 16 14:08:11 2003
@@ -1516,8 +1516,6 @@
int bucket;
};
-
-#define SEQ_START_TOKEN ((void *)1)
/*
* Write the contents of the VS rule table to a PROCfs file.
* (It is kept just for backward compatibility)
next reply other threads:[~2003-09-16 21:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-16 21:17 Stephen Hemminger [this message]
2003-09-17 15:59 ` [PATCH] (1/6) ipvs -- get rid of SEQ_START_TOKEN define Wensong Zhang
2003-09-20 8:04 ` David S. Miller
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=20030916141731.276de60c.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=lvs-users@LinuxVirtualServer.org \
--cc=netdev@oss.sgi.com \
--cc=wensong@linux-vs.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).