aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2013-07-22 14:37:14 -0700
committerBjorn Helgaas <[email protected]>2013-07-25 12:35:02 -0600
commitfa216bf4dbe35e15044b90e7b51509768bab3d9a (patch)
tree3437173284dff5d626a944be0215c1aeebc1e4df /fs/jbd/commit.c
parent223d96fc3249b0ffdc30bf77fd90c93f857e9a6e (diff)
PCI: Turn on reallocation for unassigned resources with host bridge offset
Previously we did not turn on automatic PCI resource reallocation for unassigned IOV resources behind a host bridge with address offset. This patch fixes that bug. The intent was that "!r->start" would check for a BAR containing zero. But that check is incorrect for host bridges that apply an offset, because in that case the resource address is not the same as the bus address. This patch fixes that by converting the resource address back to a bus address before checking for zero. [bhelgaas: changelog] Suggested-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions