From 8fd04b8338ed5093ec2d1e668fa620b7de44c177 Mon Sep 17 00:00:00 2001 From: "Roger A. Faulkner" Date: Sun, 28 Feb 2010 18:42:20 -0800 Subject: PSARC 2009/657 delete obsolete system call traps 6906485 delete obsolete system call traps --HG-- rename : usr/src/cmd/truss/xstat.c => usr/src/cmd/truss/stat.c rename : usr/src/lib/libc/port/gen/dup2.c => usr/src/lib/libc/port/gen/dup.c rename : usr/src/lib/libc/port/sys/libc_fcntl.c => usr/src/lib/libc/port/sys/fcntl.c rename : usr/src/lib/libc/port/sys/libc_open.c => usr/src/lib/libc/port/sys/open.c --- usr/src/uts/common/syscall/umount.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'usr/src/uts/common/syscall/umount.c') diff --git a/usr/src/uts/common/syscall/umount.c b/usr/src/uts/common/syscall/umount.c index 970afd9b2b..a2deedb163 100644 --- a/usr/src/uts/common/syscall/umount.c +++ b/usr/src/uts/common/syscall/umount.c @@ -18,8 +18,9 @@ * * CDDL HEADER END */ + /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -31,8 +32,6 @@ * under license from the Regents of the University of California. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -193,13 +192,3 @@ umount2(char *pathp, int flag) return (umount2_engine(vfsp, flag, CRED(), 1)); } - -/* - * Old umount() system call for compatibility. - * Changes due to support for forced unmount. - */ -int -umount(char *pathp) -{ - return (umount2(pathp, 0)); -} -- cgit v1.2.3