diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-08-08 22:17:26 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-08-08 22:17:26 +0000 |
commit | 984760dbf5e48f6224dfe9e26e03536b3d38b6cd (patch) | |
tree | a99674322e524c4c90009b3bdae5fab0eebf2094 /drivers/block | |
parent | a7ce7d5e94c98ef5b867f61b2ebecd563f4b6ec9 (diff) |
Merge with Linux 2.4.0-test6-pre8.
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/lvm-snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/lvm-snap.c b/drivers/block/lvm-snap.c index 20e1c78cc..938ffc26e 100644 --- a/drivers/block/lvm-snap.c +++ b/drivers/block/lvm-snap.c @@ -326,7 +326,7 @@ static int lvm_snapshot_alloc_iobuf_pages(struct kiobuf * iobuf, int sectors) if (!addr) goto out; iobuf->pagelist[i] = addr; - page = mem_map + MAP_NR(addr); + page = virt_to_page(addr); } #endif |