diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2021-01-30 13:12:49 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-30 22:54:51 +0100 |
commit | c0e88b971052c6b700e87f7c183eb743b0de992f (patch) | |
tree | ab9be2b63e349e8605ff03ff5b97ebb304929138 /Userland | |
parent | e8aae033f18baebb224041930bca79c24b1800b0 (diff) | |
download | serenity-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 'Userland')
-rw-r--r-- | Userland/Libraries/LibC/sys/ioctl_numbers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h index 2492349060..df31bebaf9 100644 --- a/Userland/Libraries/LibC/sys/ioctl_numbers.h +++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h @@ -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 |