diff options
author | Robert Morris <[email protected]> | 2014-08-27 17:15:30 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2014-08-27 17:15:30 -0400 |
commit | 71453f72f285a17ccf0520b9dbdafdc701ff2f4a (patch) | |
tree | 978d30844e643e67a807a73db20ccc5d2823f8f2 /proc.c | |
parent | 2c56547272e43b483d560a61692f1e24926a82fb (diff) | |
download | xv6-labs-71453f72f285a17ccf0520b9dbdafdc701ff2f4a.tar.gz xv6-labs-71453f72f285a17ccf0520b9dbdafdc701ff2f4a.tar.bz2 xv6-labs-71453f72f285a17ccf0520b9dbdafdc701ff2f4a.zip |
a start at concurrent FS system calls
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -186,9 +186,9 @@ exit(void) } } - begin_trans(); + begin_op(); iput(proc->cwd); - commit_trans(); + end_op(); proc->cwd = 0; acquire(&ptable.lock); |