Kernel: Add FIBMAP ioctl to Ext2FileSystem

FIBMAP is a linux ioctl that gives the location on disk of a specific
block of a file
This commit is contained in:
Peter Elliott
2021-01-30 13:12:49 -07:00
committed by Andreas Kling
parent e8aae033f1
commit c0e88b9710
6 changed files with 53 additions and 1 deletions

View File

@@ -77,6 +77,8 @@ private:
virtual KResult chown(uid_t, gid_t) override;
virtual KResult truncate(u64) override;
virtual KResultOr<int> get_block_address(int) override;
bool write_directory(const Vector<Ext2FSDirectoryEntry>&);
bool populate_lookup_cache() const;
KResult resize(u64);