mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
makefs/zfs: Remove a nonsensical comment
When populating files, makefs needs to copy their contents into userspace in order to compute a checksum, so copy_file_range(2) is out of the question. Though, it could possibly be used when building other types of filesystems. MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
63aa2e9134
commit
60c95af88f
1 changed files with 0 additions and 2 deletions
|
|
@ -551,8 +551,6 @@ fs_populate_file(fsnode *cur, struct fs_populate_arg *arg)
|
|||
|
||||
/*
|
||||
* Fill up our buffer, handling partial reads.
|
||||
*
|
||||
* It might be profitable to use copy_file_range(2) here.
|
||||
*/
|
||||
sofar = 0;
|
||||
target = MIN(size - foff, (off_t)bufsz);
|
||||
|
|
|
|||
Loading…
Reference in a new issue