btrfs-util: Remove bogus assert()

If size is zero, BTRFS_IOC_CLONE_RANGE will copy until the end of
the source file.
This commit is contained in:
Daan De Meyer
2022-11-15 20:07:54 +01:00
parent 2b0cff0469
commit c93b0efdb9
-1
View File
@@ -245,7 +245,6 @@ int btrfs_clone_range(int infd, uint64_t in_offset, int outfd, uint64_t out_offs
assert(infd >= 0);
assert(outfd >= 0);
assert(sz > 0);
r = fd_verify_regular(outfd);
if (r < 0)