which included commits to RCS files with non-trunk default branches.
AFS_SYSNAME="ppc_darwin_14"
;;
powerpc-apple-darwin5.1*)
- AFS_SYSNAME="ppc_darwin_51"
+ AFS_SYSNAME="ppc_darwin_14"
+ ;;
+ powerpc-apple-darwin5.2*)
+ AFS_SYSNAME="ppc_darwin_14"
;;
sparc-sun-solaris2.5*)
AFS_SYSNAME="sun4x_55"
AC_INIT(Makefile.common)
-AM_INIT_AUTOMAKE(openafs-libafs,1.2.2)
+AM_INIT_AUTOMAKE(openafs-libafs,1.2.3)
AC_CONFIG_HEADER(config/afsconfig.h)
define(OPENAFS_CONFIGURE_LIBAFS)
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_sleep.c,v 1.1.1.7 2002/01/22 19:48:12 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_sleep.c,v 1.1.1.8 2002/01/30 14:01:28 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
if (code == EINTR) {
if (aintok)
return EINTR;
- flush_signals(current);
}
#else
timer = afs_osi_CallProc(AfsWaitHack, (char *) current, ams);
seq = evp->seq;
while (seq == evp->seq) {
+ sigset_t saved_set;
+
AFS_ASSERT_GLOCK();
AFS_GUNLOCK();
+ spin_lock_irq(¤t->sigmask_lock);
+ saved_set = current->blocked;
+ sigfillset(¤t->blocked);
+ recalc_sigpending(current);
+ spin_unlock_irq(¤t->sigmask_lock);
+
interruptible_sleep_on(&evp->cond);
+
+ spin_lock_irq(¤t->sigmask_lock);
+ current->blocked = saved_set;
+ recalc_sigpending(current);
+ spin_unlock_irq(¤t->sigmask_lock);
AFS_GLOCK();
}
relevent(evp);
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vfsops.c,v 1.1.1.10 2001/10/14 17:59:08 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vfsops.c,v 1.1.1.11 2002/01/30 14:01:28 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
AFS_GLOCK();
if (afs_was_mounted) {
printf("You must reload the AFS kernel extensions before remounting AFS.\n");
+ AFS_GUNLOCK();
return NULL;
}
afs_was_mounted = 1;
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vm.c,v 1.1.1.7 2002/01/28 00:24:18 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vm.c,v 1.1.1.8 2002/01/30 14:01:29 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
*/
void osi_VM_StoreAllSegments(struct vcache *avc)
{
-#ifdef AFS_LINUX24_ENV
struct inode *ip = (struct inode *) avc;
-
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,5)
+ /* filemap_fdatasync() only exported in 2.4.5 and above */
ReleaseWriteLock(&avc->lock);
AFS_GUNLOCK();
- write_inode_now(ip, 1);
+ filemap_fdatasync(ip->i_mapping);
+ filemap_fdatawait(ip->i_mapping);
AFS_GLOCK();
ObtainWriteLock(&avc->lock, 121);
#endif