mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
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:
parent
e8aae033f1
commit
c0e88b9710
Notes:
sideshowbarker
2024-07-18 22:43:13 +09:00
Author: https://github.com/petelliott
Commit: c0e88b9710
Pull-request: https://github.com/SerenityOS/serenity/pull/5187
6 changed files with 53 additions and 1 deletions
|
@ -85,6 +85,8 @@ public:
|
|||
virtual KResult truncate(u64) { return KSuccess; }
|
||||
virtual KResultOr<NonnullRefPtr<Custody>> resolve_as_link(Custody& base, RefPtr<Custody>* out_parent = nullptr, int options = 0, int symlink_recursion_level = 0) const;
|
||||
|
||||
virtual KResultOr<int> get_block_address(int) { return -ENOTSUP; }
|
||||
|
||||
LocalSocket* socket() { return m_socket.ptr(); }
|
||||
const LocalSocket* socket() const { return m_socket.ptr(); }
|
||||
bool bind_socket(LocalSocket&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue