summaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-03-16 18:44:30 +0100
committerAlasdair G Kergon <agk@redhat.com>2009-03-16 18:44:30 +0100
commitd659e6cc98766a1a61d6bdd283f95d149abd7719 (patch)
tree6bed5b474d50d345a2d16562cf521d7bfa7243b8 /drivers/power/power_supply.h
parentdm table: rework reference counting fix (diff)
downloadlinux-d659e6cc98766a1a61d6bdd283f95d149abd7719.tar.xz
linux-d659e6cc98766a1a61d6bdd283f95d149abd7719.zip
dm io: respect BIO_MAX_PAGES limit
dm-io calls bio_get_nr_vecs to get the maximum number of pages to use for a given device. It allocates one additional bio_vec to use internally but failed to respect BIO_MAX_PAGES, so fix this. This was the likely cause of: https://bugzilla.redhat.com/show_bug.cgi?id=173153 Cc: stable@kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/power/power_supply.h')
0 files changed, 0 insertions, 0 deletions