util-linux-umount2-fix.patch 665 B

1234567891011121314151617181920
  1. [PATCH] fix multiple definitions of umount2 issue
  2. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  3. ---
  4. mount/umount.c | 2 +-
  5. 1 file changed, 1 insertion(+), 1 deletion(-)
  6. Index: util-linux-2.13-pre7/mount/umount.c
  7. ===================================================================
  8. --- util-linux-2.13-pre7.orig/mount/umount.c
  9. +++ util-linux-2.13-pre7/mount/umount.c
  10. @@ -29,7 +29,7 @@
  11. #include "nfsmount.h"
  12. #include <arpa/inet.h>
  13. -#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
  14. +#if 1
  15. /* Interesting ... it seems libc knows about MNT_FORCE and presumably
  16. about umount2 as well -- need not do anything */
  17. #else /* MNT_FORCE */