mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Fix dev_zero() offset.
This commit is contained in:
parent
034db45e26
commit
27642fade0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user