/shark/tags/rel_0_4/fs/msdos/makefile |
---|
5,6 → 5,7 |
ifndef BASE |
BASE=../.. |
endif |
include $(BASE)/config/config.mk |
LIBRARY = fs |
/shark/tags/rel_0_4/fs/msdos/msdos_i.c |
---|
34,11 → 34,11 |
*/ |
/* |
* CVS : $Id: msdos_i.c,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $ |
* CVS : $Id: msdos_i.c,v 1.2 2002-10-28 08:24:43 pj Exp $ |
* |
* File: $File$ |
* Revision: $Revision: 1.1.1.1 $ |
* Last update: $Date: 2002-03-29 14:12:50 $ |
* Revision: $Revision: 1.2 $ |
* Last update: $Date: 2002-10-28 08:24:43 $ |
*/ |
#include <fs/types.h> |
58,7 → 58,7 |
*/ |
#define DEBUG_ADDCLUSTER KERN_DEBUG |
#undef DEBUG_ADDCLUSTER KERN_DEBUG |
#undef DEBUG_ADDCLUSTER |
#define DEBUG_ADDCLUSTER_EXTRA KERN_DEBUG |
#undef DEBUG_ADDCLUSTER_EXTRA |
/shark/tags/rel_0_4/fs/fs.c |
---|
34,11 → 34,11 |
*/ |
/* |
* CVS : $Id: fs.c,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $ |
* CVS : $Id: fs.c,v 1.2 2003-01-07 17:14:05 pj Exp $ |
* |
* File: $File$ |
* Revision: $Revision: 1.1.1.1 $ |
* Last update: $Date: 2002-03-29 14:12:50 $ |
* Revision: $Revision: 1.2 $ |
* Last update: $Date: 2003-01-07 17:14:05 $ |
*/ |
#include "dentry.h" |
761,8 → 761,6 |
return (void*)-1; |
} |
//sys_status(SCHED_STATUS); |
printkc("fs_shut: END"); |
return (void*)0; |
/shark/tags/rel_0_4/fs/fs.h |
---|
34,11 → 34,11 |
*/ |
/* |
* CVS : $Id: fs.h,v 1.1.1.1 2002-03-29 14:12:50 pj Exp $ |
* CVS : $Id: fs.h,v 1.2 2002-11-11 08:40:44 pj Exp $ |
* |
* File: $File$ |
* Revision: $Revision: 1.1.1.1 $ |
* Last update: $Date: 2002-03-29 14:12:50 $ |
* Revision: $Revision: 1.2 $ |
* Last update: $Date: 2002-11-11 08:40:44 $ |
*/ |
/*** |
51,6 → 51,7 |
#include <fs/types.h> |
#include <fs/mount.h> |
#include <time.h> |
#include "mutex.h" |
#include "semaph.h" |
222,10 → 223,13 |
#ifdef SHUTDOWNTIMEOUT |
{ |
int counter; |
struct timespec delay; |
delay.tv_sec=SHUTDOWNSLICE/1000000; |
delay.tv_nsec=(SHUTDOWNSLICE%1000000)*1000; |
counter=0; |
while (counter<SHUTDOWNCOUNTER&&__fs_sem_trywait(&fssyssync)) { |
counter++; |
task_delay(SHUTDOWNSLICE); |
nanosleep(&delay, NULL); |
} |
if (counter>=SHUTDOWNCOUNTER) { |
printk(KERN_NOTICE "filesystem shutdown timeout... aborting!"); |
/shark/tags/rel_0_4/fs/makefile |
---|
5,6 → 5,7 |
ifndef BASE |
BASE=.. |
endif |
include $(BASE)/config/config.mk |
LIBRARY = fs |