X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=linux-2.6-910-support_barriers_on_single_device_dm_devices.patch;h=e6490ed7129d82e7172a4597595c22d61f8717d8;hb=refs%2Fheads%2F27;hp=329404c281161cc1d78c6847219bed8e31dece5a;hpb=67ca142849e6378b53be094363ef7a865736e665;p=linux-2.6.git diff --git a/linux-2.6-910-support_barriers_on_single_device_dm_devices.patch b/linux-2.6-910-support_barriers_on_single_device_dm_devices.patch index 329404c28..e6490ed71 100644 --- a/linux-2.6-910-support_barriers_on_single_device_dm_devices.patch +++ b/linux-2.6-910-support_barriers_on_single_device_dm_devices.patch @@ -84,7 +84,7 @@ index 191f56d..8b11f14 100644 + if (unlikely(bio_barrier(bio) && !dm_table_barrier_ok(ci.map))) { + dm_table_put(ci.map); + bio_endio(bio, -EOPNOTSUPP); -+ return; ++ return 0; + } + ci.md = md;