Revert "Introduce and use sleeplocks instead of BUSY flags"

My changes have a race with re-used bufs and the code doesn't seem to get shorter
Keep the changes that fixed ip->off race

This reverts commit 3a5fa7ed90.

Conflicts:

	defs.h
	file.c
	file.h
This commit is contained in:
Frans Kaashoek 2011-08-29 17:18:40 -04:00
parent 22f7db5336
commit 1ddfbbb194
12 changed files with 61 additions and 105 deletions

View file

@ -5,7 +5,6 @@
#include "mmu.h"
#include "proc.h"
#include "fs.h"
#include "spinlock.h"
#include "file.h"
#include "fcntl.h"