summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/Ext2FileSystem.h
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2021-01-30 13:12:49 -0700
committerAndreas Kling <kling@serenityos.org>2021-01-30 22:54:51 +0100
commitc0e88b971052c6b700e87f7c183eb743b0de992f (patch)
treeab9be2b63e349e8605ff03ff5b97ebb304929138 /Kernel/FileSystem/Ext2FileSystem.h
parente8aae033f18baebb224041930bca79c24b1800b0 (diff)
downloadserenity-c0e88b971052c6b700e87f7c183eb743b0de992f.zip
Kernel: Add FIBMAP ioctl to Ext2FileSystem
FIBMAP is a linux ioctl that gives the location on disk of a specific block of a file
Diffstat (limited to 'Kernel/FileSystem/Ext2FileSystem.h')
-rw-r--r--Kernel/FileSystem/Ext2FileSystem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h
index 6302a8690c..a395bd4c8e 100644
--- a/Kernel/FileSystem/Ext2FileSystem.h
+++ b/Kernel/FileSystem/Ext2FileSystem.h
@@ -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);