a start at concurrent FS system calls

This commit is contained in:
Robert Morris 2014-08-27 17:15:30 -04:00
parent 2c56547272
commit 71453f72f2
6 changed files with 95 additions and 61 deletions

4
proc.c
View file

@ -186,9 +186,9 @@ exit(void)
}
}
begin_trans();
begin_op();
iput(proc->cwd);
commit_trans();
end_op();
proc->cwd = 0;
acquire(&ptable.lock);