mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
e2fsprogs: disarm mount-point checks
On Noux, these checks are not needed because there is no notion of mount points.
This commit is contained in:
parent
ad40e71fdf
commit
f390543550
@ -1 +1 @@
|
||||
a6a76f9f5d81f6ac86c9f43d657be0c25ede843d
|
||||
a65db85fad26a118b92cccf5ca742c1197809be3
|
||||
|
11
repos/ports/src/noux-pkg/e2fsprogs/patches/ismounted.c.patch
Normal file
11
repos/ports/src/noux-pkg/e2fsprogs/patches/ismounted.c.patch
Normal file
@ -0,0 +1,11 @@
|
||||
+++ src/noux-pkg/e2fsprogs/lib/ext2fs/ismounted.c
|
||||
@@ -352,6 +352,9 @@
|
||||
{
|
||||
errcode_t retval = 0;
|
||||
|
||||
+ /* disarm the mount-point check as Genode has no notion of mount points */
|
||||
+ return 0;
|
||||
+
|
||||
if (is_swap_device(device)) {
|
||||
*mount_flags = EXT2_MF_MOUNTED | EXT2_MF_SWAP;
|
||||
strncpy(mtpt, "<swap>", mtlen);
|
Loading…
Reference in New Issue
Block a user