Patch from Krzysztof Blaszkowski:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 18 Feb 2009 19:17:29 +0000 (19:17 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 18 Feb 2009 19:17:29 +0000 (19:17 +0000)
commitce60cc73e5eb047f0104ecb8011c0310a2116321
tree2c45dcbca99bcad010987c9ecadf1fca80ea21f5
parent5b18ca57e33993c984537594e8d93e91691d81e8
Patch from Krzysztof Blaszkowski:

i noticed this issue running simple iscsi connection test to a few targets.
without included patch the active_pages_total counter wraps around 0 thus it
breaks logic for releasing memory on "hi watermark" just like it is depicted
in:

Inactive/active pages                      18/-25
Hi/lo watermarks [pages]                   119808/0
Hi watermark releases/failures             4/0

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
scst/src/scst_mem.c