]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 324c42a755df3556fd19a2f4825a9f1c141c0447..2b401de8ff2410b0b27b8504f9591a5b43b035d3 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 39d76b17a0459c40c8e541195c9525b6b609263b..9f414787cee9bf6a3610b9d14501a4ed6c7e0443 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 dbbc21b847c85ec7f65863c4aa2ff2584415d9ec..e10e464883950e39781deb613f00d5edbde70287 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