xen-netback: fix debugfs entry creation
authorWei Liu <wei.liu2@citrix.com>
Tue, 12 Aug 2014 10:59:30 +0000 (11:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:06:43 +0000 (20:06 -0700)
commit628fa76b09d7b0923c142631fc25b6affbfb868d
tree1c738b4350f79c4f65f1a2441a857b88eb8ccb7b
parent5c807005fa60deef2db6616d9b7b24fc4c436be9
xen-netback: fix debugfs entry creation

The original code is bogus. The function gets called in a loop which
leaks entries created in previous rounds.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Zoltan Kiss <zoltan.kiss@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/xenbus.c