diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-29 23:37:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-30 20:52:20 +0100 |
| commit | b98f55b806f9dfe9e9374faceed99b689c29f28e (patch) | |
| tree | 5c626761e0814ae7b9434a5fc66b1e2100743893 /blockdev/blockdev.c | |
| parent | 3dc752da8948564456ce2d721c266b4e1a50e7a1 (diff) | |
Return platform-specific errors via ext4_blockdev_errno2400-ext-errors
Diffstat (limited to 'blockdev/blockdev.c')
| -rw-r--r-- | blockdev/blockdev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/blockdev/blockdev.c b/blockdev/blockdev.c index a44a2e1..15ce00f 100644 --- a/blockdev/blockdev.c +++ b/blockdev/blockdev.c @@ -32,6 +32,9 @@ #include <ext4_errno.h> +uint32_t ext4_blockdev_errno; + + /**********************BLOCKDEV INTERFACE**************************************/ static int blockdev_open(struct ext4_blockdev *bdev); static int blockdev_bread(struct ext4_blockdev *bdev, void *buf, uint64_t blk_id, |
