bonding: elminate bad refcount code
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 12 Jun 2009 19:02:49 +0000 (19:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jun 2009 06:29:00 +0000 (23:29 -0700)
commit6d7ab43ccce5fddeca945ba6b06ba32cda4e3355
tree7492faab7570a039535936d4822f0c69f2eee0be
parent3d632c3f28e69f0d6d44aa09c4df708d63a91a7c
bonding: elminate bad refcount code

The "expected_refcount" stuff in bonding sysfs module is a mistake.
Sysfs does proper refcounting, and it is okay to remove a bond device
that has some user process holding the file open.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c