From 2e59046362f532748711b9acaceee1cda969cc50 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Fri, 12 Aug 2011 09:25:39 -0400 Subject: log write() data usertest for big write()s push begin_trans/commit_trans down into syscalls --- syscall.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'syscall.c') diff --git a/syscall.c b/syscall.c index b848716..71c369c 100644 --- a/syscall.c +++ b/syscall.c @@ -141,9 +141,7 @@ syscall(void) if(num >= 0 && num < SYS_open && syscalls[num]) { proc->tf->eax = syscalls[num](); } else if (num >= SYS_open && num < NELEM(syscalls) && syscalls[num]) { - begin_trans(); proc->tf->eax = syscalls[num](); - commit_trans(); } else { cprintf("%d %s: unknown sys call %d\n", proc->pid, proc->name, num); -- cgit v1.2.3