RDS: fix fmr pool dirty_count
authorWengang Wang <wen.gang.wang@oracle.com>
Tue, 25 Aug 2015 19:02:00 +0000 (12:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 23:28:11 +0000 (16:28 -0700)
commit6116c2030fff91950f68b7fffb5959c91a05aaf6
treec569c731786a9b9e2cfe6f37fe12e52212ab1055
parent3f6b3143031b678a8577df1f24ca977510aefcf5
RDS: fix fmr pool dirty_count

In rds_ib_flush_mr_pool(), dirty_count accounts the clean ones
which is wrong. This can lead to a negative dirty count value.

Lets fix it.

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_rdma.c