diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-10-01 15:39:24 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-10-01 15:39:24 +0200 |
commit | b01cd5ac43b00c49759c126c21e7d22c7e80b245 (patch) | |
tree | ccfda9067457032999a5d2d6ed5203caa2422937 /drivers/md/dm-mpath.c | |
parent | dm: always allow one page in dm_merge_bvec (diff) | |
download | linux-b01cd5ac43b00c49759c126c21e7d22c7e80b245.tar.xz linux-b01cd5ac43b00c49759c126c21e7d22c7e80b245.zip |
dm: cope with access beyond end of device in dm_merge_bvec
If for any reason dm_merge_bvec() is given an offset beyond the end of the
device, avoid an oops and always allow one page to be added to an empty bio.
We'll reject the I/O later after the bio is submitted.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions