Re: [PATCH net] RDS: IB: Limit the scope of has_fr/has_fmr variables

From: Santosh Shilimkar
Date: Mon Oct 02 2017 - 16:30:14 EST

On 10/1/2017 10:56 PM, David Miller wrote:
From: David Miller <davem@xxxxxxxxxxxxx>
Date: Sun, 01 Oct 2017 22:54:19 -0700 (PDT)

From: Avinash Repaka <avinash.repaka@xxxxxxxxxx>
Date: Fri, 29 Sep 2017 18:13:50 -0700

This patch fixes the scope of has_fr and has_fmr variables as they are
needed only in rds_ib_add_one().

Signed-off-by: Avinash Repaka <avinash.repaka@xxxxxxxxxx>


Actually, reverted, this breaks the build.

net/rds/rdma_transport.c:38:10: fatal error: ib.h: No such file or directory
#include "ib.h"

Although I can't see how in the world this patch is causing such
an error.

Weird indeed. Will sort this out with Avinash. Thanks Dave.