From: Yu Watanabe Date: Tue, 12 May 2026 17:04:33 +0000 (+0900) Subject: copy: fix typo and slightly update comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d56adae62459e1b375c55930352c87c26e996704;p=thirdparty%2Fsystemd.git copy: fix typo and slightly update comment --- diff --git a/src/shared/copy.c b/src/shared/copy.c index a8e2b68db14..d5788c7d77f 100644 --- a/src/shared/copy.c +++ b/src/shared/copy.c @@ -206,8 +206,7 @@ int copy_bytes_full( if ((copy_flags & COPY_REFLINK)) { off_t foffset; - /* In reflink mode we need to know where the current file offset is, but if we just seeked to - * 0 anyway, we can suppress that. */ + /* In reflink mode, we need to know the current file offset, unless we already sought to 0 anyway. */ foffset = FLAGS_SET(copy_flags, COPY_SEEK0_SOURCE) ? 0 : lseek(fdf, 0, SEEK_CUR); if (foffset >= 0) { off_t toffset;