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:
Norman Feske 2018-05-16 22:04:33 +02:00 committed by Christian Helmuth
parent ad40e71fdf
commit f390543550
2 changed files with 12 additions and 1 deletions

View File

@ -1 +1 @@
a6a76f9f5d81f6ac86c9f43d657be0c25ede843d
a65db85fad26a118b92cccf5ca742c1197809be3

View 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);