bonding: fix return value of couple of store functions
commit672bda337060fa2ff99866a6ebfa3ae036f8b23b
authorJiri Pirko <jpirko@redhat.com>
Tue, 25 Jan 2011 11:03:25 +0000 (25 11:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2011 21:13:16 +0000 (25 13:13 -0800)
tree3dde2d776d9a38494790a9d8c6eeb593676218b7
parenta512b92b3af4b03fc6834617a042dc85fbd4e34e
bonding: fix return value of couple of store functions

count is incorrectly returned even in case of fail. Return ret instead.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c