This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] PPC64 umount fix.
- From: Steve Munroe <sjmunroe at us dot ibm dot com>
- To: libc-alpha at sources dot redhat dot com, Marcus Meissner <meissner at suse dot de>
- Date: Fri, 09 Apr 2004 11:33:47 -0500
- Subject: [PATCH] PPC64 umount fix.
- Organization: IBM LTC
- Reply-to: sjmunroe at vnet dot ibm dot com
For PPC64 native builds unount does not work because default umount uses
syscall(NR__umount, ...) which is not implemented for PPC64. The best
solution is to forward all umount calls to umount2 like hppa umount.c.
Thanks to Marcus Meisser for pointing this out.
2004-04-09 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.
diff -urN libc23-cvstip-20040405/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c
--- libc23-cvstip-20040405/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c Wed Dec 31 18:00:00 1969
+++ libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c Wed Apr 07 16:52:56 2004
@@ -0,0 +1,1 @@
+#include <sysdeps/unix/sysv/linux/hppa/umount.c>