freebsd-cleanup-20090112
authorMatt Benjamin <matt@linuxbox.com>
Mon, 12 Jan 2009 14:33:09 +0000 (14:33 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 12 Jan 2009 14:33:09 +0000 (14:33 +0000)
LICENSE IPL10
FIXES 124107

minor freebsd cleanup

src/afs/FBSD/osi_vnodeops.c
src/afs/afs_prototypes.h
src/libafs/MakefileProto.FBSD.in

index 324c42a..2b401de 100644 (file)
@@ -1044,8 +1044,7 @@ afs_vop_ioctl(ap)
     if (((ap->a_command >> 8) & 0xff) == 'V') {
        /* This is a VICEIOCTL call */
        AFS_GLOCK();
-       error = HandleIoctl(tvc, NULL /*Not used */ ,
-                           ap->a_command, ap->a_data);
+       error = HandleIoctl(tvc, ap->a_command, ap->a_data);
        AFS_GUNLOCK();
        return (error);
     } else {
index 39d76b1..9f41478 100644 (file)
@@ -1192,7 +1192,7 @@ extern int afs_rename(OSI_VC_DECL(aodp), char *aname1, struct vcache *andp,
 #endif
        
 /* VNOPS/afs_vnop_strategy.c */
-#if defined(AFS_SUN5_ENV) || defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
+#if defined(AFS_SUN5_ENV) || defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV)
 extern int afs_ustrategy(register struct buf *adp, struct AFS_UCRED *credp);
 #else
 extern int afs_ustrategy(register struct buf *adp);
index dbbc21b..e10e464 100644 (file)
@@ -34,6 +34,10 @@ AFS_OS_NONFSOBJS = \
 # System specific build commands and flags
 KSRC = @BSD_KERNEL_PATH@
 KBLD = @BSD_KERNEL_BUILD@
+<amd64_fbsd_70 amd64_fbsd_71 amd64_fbsd_80>
+KOPTS = -fPIC
+<all>
+
 KDEFS=-Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE \
        -elf \
 <i386_fbsd_42 i386_fbsd_43 i386_fbsd_44 i386_fbsd_45 i386_fbsd_46 i386_fbsd_47>
@@ -46,9 +50,7 @@ KDEFS=-Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE \
        -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \
 <all -i386_fbsd_42 -i386_fbsd_43 -i386_fbsd_44 -i386_fbsd_45 -i386_fbsd_46 -i386_fbsd_47>
        -mno-align-long-strings -fno-common -ffreestanding \
-       -I${KBLD} -include opt_global.h -fno-strict-aliasing \
-<amd64_fbsd_70 amd64_fbsd_71 amd64_fbsd_80>
-KOPTS=-fPIC
+       -I${KBLD} -include opt_global.h -fno-strict-aliasing
 <all>
 
 DBUG = -O2