LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] (1/6) ipvs -- get rid of SEQ_START_TOKEN define

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] (1/6) ipvs -- get rid of SEQ_START_TOKEN define
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Cc: netdev@xxxxxxxxxxx
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Wed, 17 Sep 2003 23:59:46 +0800 (CST)

On Tue, 16 Sep 2003, Stephen Hemminger wrote:

> Applies to 2.6.0-test5 with my seq_file patches from yesterday.
> 

OK, thanks!

Dave, please apply this patch.

Regards,

Wensong

> 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)
> 

<Prev in Thread] Current Thread [Next in Thread>