summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-11-10 20:45:05 -0500
committerChris Mason <chris.mason@oracle.com>2011-11-10 20:45:05 -0500
commit2f120c05e67ae34c93786b1050c6828904314429 (patch)
treed14dfdb4e94b5b562ed35206a8525cd5908fc0db /arch/openrisc
parent76b9e23d25d5c99f994bee3172de39492e452e93 (diff)
downloadop-kernel-dev-2f120c05e67ae34c93786b1050c6828904314429.zip
op-kernel-dev-2f120c05e67ae34c93786b1050c6828904314429.tar.gz
Btrfs: only map pages if we know we need them when reading the space cache
People have been running into a warning when loading space cache because the page is already mapped when trying to read in a bitmap. The way we read in entries and pages is kind of convoluted, so fix it so that io_ctl_read_entry maps the entries if it needs to, and if it hits the end of the page it simply unmaps the page. That way we can unconditionally unmap the io_ctl before reading in the bitmap and we should stop hitting these warnings. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud