summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index db0e9c7..a642f5a 100644
--- a/proc.c
+++ b/proc.c
@@ -186,9 +186,9 @@ exit(void)
}
}
- begin_trans();
+ begin_op();
iput(proc->cwd);
- commit_trans();
+ end_op();
proc->cwd = 0;
acquire(&ptable.lock);