diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2010-12-08 02:58:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-10 14:28:48 -0800 |
commit | a6a5ff26975c87a97f88c6ea077c325ff20c4cf2 (patch) | |
tree | bbdf54c9b8c3d5dc4de3b3dc7903217eb0949583 /drivers/staging/pohmelfs/lock.c | |
parent | 91d4576bfe87980b1b86305c29912d96b96ce98e (diff) |
qeth: buffer count imbalance
The used buffers counter is not incremented in case of an error so
the counter can become negative. Increment the used buffers counter
before checking for errors.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging/pohmelfs/lock.c')
0 files changed, 0 insertions, 0 deletions