1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Fix dev_zero() offset.

This commit is contained in:
Alasdair Kergon 2003-11-13 23:55:03 +00:00
parent 5293d0a4ec
commit edd3d07b49

View File

@ -463,6 +463,8 @@ int dev_zero(struct device *dev, uint64_t offset, size_t len)
len -= s;
if (!len)
break;
offset += s;
}
dev->flags |= DEV_ACCESSED_W;