1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:47:35 +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:
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

@ -67,7 +67,8 @@ enum IOCtlNumber {
SIOCGIFHWADDR,
SIOCSIFNETMASK,
SIOCADDRT,
SIOCDELRT
SIOCDELRT,
FIBMAP
};
#define TIOCGPGRP TIOCGPGRP
@ -92,3 +93,4 @@ enum IOCtlNumber {
#define SIOCSIFNETMASK SIOCSIFNETMASK
#define SIOCADDRT SIOCADDRT
#define SIOCDELRT SIOCDELRT
#define FIBMAP FIBMAP