martinezjavier/ldd3 — pull request #5 by tatetian (2013-10-29 02:45:06+00:00)
Title: Fix a memory mapping bug in sbull.c

There is a bug related to temporary kernel mapping in `sbull.c`.

The marco `__bio_kunmap_atomic`, which actually calls `kunmap_atomic`, should pass the linear address corresponding to the mapped memory rather than the address of a `bio` structure.

The bug compromises the page table. If you write to a sbull device many times, this bug will cause a Linux oops.