diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-12-12 17:53:59 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-12-16 14:37:56 +0100 |
commit | f7038b7c3f4924b18390c51c1ec1e49287cc87db (patch) | |
tree | 1d2db04d9d8ed0497694dc1fee5ae95b4de8d946 /block/blk-mq-tag.h | |
parent | 0c0c2776926018e7560b99e921467aea1115d03b (diff) | |
download | linux-f7038b7c3f4924b18390c51c1ec1e49287cc87db.tar.bz2 |
s390/pci/dma: fix accounting of allocated_pages
allocated_pages sometimes are increased even if s390_dma_alloc fails
also this value is never decreased even if s390_dma_free is called.
This patch fixes these bugs.
Also remove the atomic64_t casts (the members are already of this type).
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions