]> git.proxmox.com Git - pxar.git/commitdiff
sync accessor: remove 'async' from open_dir_at_end
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 5 May 2020 12:21:11 +0000 (14:21 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 5 May 2020 12:21:11 +0000 (14:21 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/accessor/sync.rs

index 16db5d1572d463882246f8877244ad3c5ccba43f..19226ba50b77a0bd076c9d06f155b55aa34ee75d 100644 (file)
@@ -102,7 +102,7 @@ impl<T: Clone + ReadAt> Accessor<T> {
     }
 
     /// Allow opening a directory at a specified offset.
-    pub async unsafe fn open_dir_at_end(&self, offset: u64) -> io::Result<Directory<T>> {
+    pub unsafe fn open_dir_at_end(&self, offset: u64) -> io::Result<Directory<T>> {
         Ok(Directory::new(poll_result_once(self.inner.open_dir_at_end(offset))?))
     }
 }