Skip to content
Commit d2a0a616 authored by Frédéric Danis's avatar Frédéric Danis Committed by Richard Weinberger
Browse files

um: Fix WRITE_ZEROES in the UBD Driver



Call to fallocate with FALLOC_FL_PUNCH_HOLE on a device backed by a sparse
file can end up by missing data, zeroes data range, if the underlying file
is used with a tool like bmaptool which will referenced only used spaces.

Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
Acked-by: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent b35507a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment