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