mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
e2fsprogs: disarm the mount-point check
Discovered while creating an ext2 file system on an sd_card (no partitions, imx6), which failed with an error message that stated the device is in use. Genode's libc/posix layer has no notion of mount points. Fixes #3271
This commit is contained in:
parent
642c2ab4bc
commit
8b4e2a21e4
@ -1 +1 @@
|
||||
a65db85fad26a118b92cccf5ca742c1197809be3
|
||||
456c6445bab2a174dd845f7aa2beb767250722db
|
||||
|
@ -1,9 +1,10 @@
|
||||
+++ src/noux-pkg/e2fsprogs/lib/ext2fs/ismounted.c
|
||||
@@ -352,6 +352,9 @@
|
||||
@@ -352,6 +352,10 @@
|
||||
{
|
||||
errcode_t retval = 0;
|
||||
|
||||
+ /* disarm the mount-point check as Genode has no notion of mount points */
|
||||
+ *mount_flags = 0;
|
||||
+ return 0;
|
||||
+
|
||||
if (is_swap_device(device)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user