]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-cleanup-20050130
authorDerrick Brashear <shadow@dementia.org>
Mon, 31 Jan 2005 04:34:42 +0000 (04:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 31 Jan 2005 04:34:42 +0000 (04:34 +0000)
get all the drift between head and 1.4 branch

acinclude.m4
src/config/param.i386_obsd31.h
src/libuafs/Makefile.common.in
src/lwp/Makefile.in
src/rx/rx_packet.c
src/rx/rx_prototypes.h
src/sys/Makefile.in
src/volser/vsprocs.c

index e00b904be3e5f3508e8e9e8754daad72c63a76a8..c7b1a3a81415a92380243a402eb6fe1e4dfa1bef 100644 (file)
@@ -1088,23 +1088,4 @@ AC_SUBST(HELPER_SPLINT)
 AC_SUBST(HELPER_SPLINTCFG)
 
 
-TOP_SRCDIR="${srcdir}/src"
-dnl
-dnl If we're using ./configure, need a more reasonable TOP_SRCDIR, since relative links don't work everywhere
-dnl
-case $TOP_SRCDIR in
-        /*)
-                ;;
-        *)
-                TOP_SRCDIR=${SRCDIR_PARENT}/src
-esac
-
-TOP_OBJDIR="${SRCDIR_PARENT}"
-TOP_INCDIR="${SRCDIR_PARENT}/include"
-TOP_LIBDIR="${SRCDIR_PARENT}/lib"
-if test "${DEST}x" = "x"; then
-        DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
-fi
-
-
 ])
index 38f02fc28d76e97088be50b72db1a53e638d4215..ec2b6d643fc14b5a230692d61111941336de63e2 100644 (file)
@@ -1,6 +1,3 @@
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
 /*
  * Jim Rees, University of Michigan CITI
  */
index 3cb0f277ffb03f72c5398c7e718054539213e8c0..8b9c37d36f9d81dc222c418985774ef2d3437428 100644 (file)
@@ -53,39 +53,6 @@ COMMON_INCLUDE = -I. -I.. -I../nfs \
         -I${TOP_INCDIR} \
         -I${TOP_INCDIR}/afs 
 
-TOP_OBJ_FSINT = ${TOP_OBJDIR}/src/fsint
-TOP_OBJ_RXSTAT = ${TOP_OBJDIR}/src/rxstat
-TOP_OBJ_VLSERVER = ${TOP_OBJDIR}/src/vlserver
-
-TOP_SRC_AFS = ${TOP_SRCDIR}/afs
-TOP_SRC_RXSTAT = ${TOP_SRCDIR}/rxstat
-TOP_SRC_FSINT = ${TOP_SRCDIR}/fsint
-TOP_SRC_RX = ${TOP_SRCDIR}/rx
-TOP_SRC_VNOPS = ${TOP_SRCDIR}/afs/VNOPS
-TOP_SRC_RXKAD = ${TOP_SRCDIR}/rxkad
-
-COMMON_INCLUDE = -I. -I.. -I../nfs \
-        -I${TOP_SRCDIR} \
-        -I${TOP_SRCDIR}/afs \
-        -I${TOP_SRCDIR}/afs/UKERNEL \
-        -I${TOP_SRCDIR}/config \
-        -I${TOP_SRCDIR}/rx \
-        -I${TOP_SRCDIR}/rx/UKERNEL \
-        -I${TOP_SRCDIR}/rxkad \
-        -I${TOP_SRCDIR}/rxkad/domestic \
-        -I${TOP_SRCDIR}/util \
-        -I${TOP_OBJDIR}/src \
-        -I${TOP_OBJDIR}/src/afs/UKERNEL \
-        -I${TOP_OBJDIR}/src/afs \
-        -I${TOP_OBJDIR}/src/util \
-        -I${TOP_OBJDIR}/src/rxkad \
-        -I${TOP_OBJDIR}/src/config \
-        -I${TOP_OBJDIR}/src/fsint \
-        -I${TOP_OBJDIR}/src/vlserver \
-       -I${TOP_OBJDIR}/src/libuafs \
-        -I${TOP_INCDIR} \
-        -I${TOP_INCDIR}/afs \
-
 # Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
 
 all: ${TOP_LIBDIR}/$(LIBJUAFS) ${TOP_LIBDIR}/$(LIBUAFS) linktest
index 6ae1330c839448ad39653acadb09e8983ad09454..c88ab6e9f4c8dd1eff47faad75420e2ddb6639aa 100644 (file)
@@ -19,9 +19,6 @@ all: ${TOP_LIBDIR}/liblwp.a ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDI
 
 depinstall: ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h
 
-depinstall: ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h
-       
-
 #
 # Build rules
 #
index 2c9059fd2b53da2a2116be3b6a1a5448afed21a3..c1f879e27884fa0109bd438300595cbab9403ebc 100644 (file)
@@ -191,7 +191,6 @@ rx_SlowReadPacket(struct rx_packet * packet, unsigned int offset, int resid,
        j = MIN(resid, packet->wirevec[i].iov_len - (offset - l));
        memcpy(out, (char *)(packet->wirevec[i].iov_base) + (offset - l), j);
        resid -= j;
-       offset = l;
         out += j;
        l += packet->wirevec[i].iov_len;
        offset = l;
index bfdd1b4bd8c9e9d18f42b113fdeecad72c136792..823b022324b1c5ca1e606b63647e933f3f20ddbb 100644 (file)
@@ -274,6 +274,8 @@ extern void rx_ReleaseCachedConnection(struct rx_connection *conn);
 
 
 /* rx_event.c */
+extern int rxevent_nFree;
+extern int rxevent_nPosted;
 #if 0
 extern struct rxevent *rxevent_Post(struct clock *when,
                                    void (*func) (struct rxevent * event,
index 1e073133a822fb32e1729a19bb779d2533b7a8e2..497e4133f93cf6333aa75178ddfe75d59e37b0ee 100644 (file)
@@ -25,7 +25,11 @@ all: \
        ${TOP_INCDIR}/afs/afs.exp \
        ${TOP_INCDIR}/afs/xfsattrs.h \
        ${TOP_LIBDIR}/afs.exp \
-       ${TOP_LIBDIR}/libsys.a 
+       ${TOP_LIBDIR}/libsys.a \
+       ${KERNELDIR}/afs \
+       ${KERNELDIR}/afs/xfsattrs.h \
+       ${UKERNELDIR}/afs \
+       ${UKERNELDIR}/afs/afsl.exp
 
 libsys.a: ${OBJECTS} ${RMTOBJS} afsl.exp AFS_component_version_number.o
        -$(RM) -f $@
index 4d9dfa2b08e32e777ddd599d5f0f7eb2b58e977e..1bd3a948c937ec1f1dff27fb2eb21a463ebeeeee 100644 (file)
@@ -173,85 +173,6 @@ static afs_int32 CheckVolume(volintInfo * volumeinfo, afs_int32 aserver,
                             afs_uint32 * maxvolid);
 
 
-/* Utility macros used by rest of this source file */
-#define EPRINT(ec, es) \
-       fprintf(STDERR, "\n"); \
-       fprintf(STDERR, (es)); \
-       PrintError("   ",ec);
-
-#define EPRINT1(ec, es, ep1) \
-       fprintf(STDERR, "\n"); \
-       fprintf(STDERR, (es), (ep1)); \
-       PrintError("   ",ec);
-
-#define EPRINT2(ec, es, ep1, ep2) \
-       fprintf(STDERR, "\n"); \
-       fprintf(STDERR, (es), (ep1), (ep2)); \
-       PrintError("   ",ec);
-
-#define EPRINT3(ec, es, ep1, ep2, ep3) \
-       fprintf(STDERR, "\n"); \
-       fprintf(STDERR, (es), (ep1), (ep2), (ep3)); \
-       PrintError("   ",ec); 
-
-#define EGOTO(where, ec, es) \
-       if (ec) { \
-               EPRINT((ec),(es)); \
-               error = (ec); \
-               goto where; \
-       }
-
-#define EGOTO1(where, ec, es, ep1) \
-       if (ec) { \
-               EPRINT1((ec),(es),(ep1)); \
-               error = (ec); \
-               goto where; \
-       }
-
-#define EGOTO2(where, ec, es, ep1, ep2) \
-       if (ec) { \
-               EPRINT2((ec),(es),(ep1),(ep2)); \
-               error = (ec); \
-               goto where; \
-       }
-
-#define EGOTO3(where, ec, es, ep1, ep2, ep3) \
-       if (ec) { \
-               EPRINT3((ec),(es),(ep1),(ep2),(ep3)); \
-               error = (ec); \
-               goto where; \
-       }
-
-#define VPRINT(es) \
-       { if (verbose) { fprintf(STDOUT, (es)); fflush(STDOUT); } }
-#define VPRINT1(es, p) \
-       { if (verbose) { fprintf(STDOUT, (es), (p)); fflush(STDOUT); } }
-#define VPRINT2(es, p1, p2) \
-       { if (verbose) { fprintf(STDOUT, (es), (p1), (p2)); fflush(STDOUT); } }
-#define VPRINT3(es, p1, p2, p3) \
-       { if (verbose) { fprintf(STDOUT, (es), (p1), (p2), (p3)); fflush(STDOUT); } }
-#define VDONE \
-       { if (verbose) { fprintf(STDOUT, " done\n"); fflush(STDOUT); } }
-
-
-
-/* getting rid of this */
-#define ERROR_EXIT(code) {error=(code); goto error_exit;}
-
-
-/* Protos for static routines */
-static afs_int32 CheckAndDeleteVolume(struct rx_connection *aconn, 
-       afs_int32 apart, afs_int32 okvol, afs_int32 delvol);
-static int DelVol (struct rx_connection *conn, afs_int32 vid, afs_int32 part, afs_int32 flags);
-static int GetTrans (struct nvldbentry *vldbEntryPtr, afs_int32 index, struct rx_connection **connPtr, 
-       afs_int32 *transPtr, afs_int32 *timePtr);
-static int SimulateForwardMultiple(struct rx_connection *fromconn, afs_int32 fromtid, 
-       afs_int32 fromdate, manyDests *tr, afs_int32 flags, void *cookie, manyResults *results);
-static int rel_compar (struct release *r1, struct release *r2);
-static afs_int32 CheckVolume(volintInfo *volumeinfo, afs_int32 aserver, afs_int32 apart, 
-       afs_int32 *modentry, afs_uint32 *maxvolid);
-
-
 /*map the partition <partId> into partition name <partName>*/
 void
 MapPartIdIntoName(afs_int32 partId, char *partName)