patch-2.4.20 linux-2.4.20/fs/ufs/truncate.c
Next file: linux-2.4.20/fs/xattr.c
Previous file: linux-2.4.20/fs/super.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/fs/ufs/truncate.c
- Orig date:
Mon Feb 25 11:38:09 2002
diff -urN linux-2.4.19/fs/ufs/truncate.c linux-2.4.20/fs/ufs/truncate.c
@@ -448,10 +448,7 @@
if (IS_SYNC(inode) && (inode->i_state & I_DIRTY))
ufs_sync_inode (inode);
run_task_queue(&tq_disk);
- current->policy |= SCHED_YIELD;
- schedule ();
-
-
+ yield();
}
offset = inode->i_size & uspi->s_fshift;
if (offset) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)