aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2008-10-01 14:39:24 +0100
committerAlasdair G Kergon <[email protected]>2008-10-01 14:39:24 +0100
commitb01cd5ac43b00c49759c126c21e7d22c7e80b245 (patch)
treeccfda9067457032999a5d2d6ed5203caa2422937 /include/linux/debugobjects.h
parent5037108acd4dc40c210321cc83b0bf8352eda95a (diff)
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 <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions