From 74d1f36b913f1a18869e9323e93f6b2770cac688 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Thu, 27 Jan 2022 08:03:54 +0000 Subject: [PATCH] Add comment to lseek --- olivefs/src/filesystem.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/olivefs/src/filesystem.rs b/olivefs/src/filesystem.rs index 1583fa1..dbda5bb 100644 --- a/olivefs/src/filesystem.rs +++ b/olivefs/src/filesystem.rs @@ -1099,6 +1099,8 @@ impl Filesystem for OliveFilesystem { } /// Reposition read/write file offset + /// used for looking for holes (for sparse files e.g. with cp and tar) + /// whence: SEEK_HOLE or SEEK_DATA. fn lseek( &mut self, _req: &Request<'_>,