patch-2.2.10 linux/fs/ext2/truncate.c
Next file: linux/fs/hfs/dir_cap.c
Previous file: linux/fs/ext2/namei.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu May 13 17:37:23 1999
- Orig file:
v2.2.9/linux/fs/ext2/truncate.c
- Orig date:
Fri Oct 9 13:27:13 1998
diff -u --recursive --new-file v2.2.9/linux/fs/ext2/truncate.c linux/fs/ext2/truncate.c
@@ -407,7 +407,8 @@
break;
if (IS_SYNC(inode) && (inode->i_state & I_DIRTY))
ext2_sync_inode (inode);
- current->counter = 0;
+ run_task_queue(&tq_disk);
+ current->policy |= SCHED_YIELD;
schedule ();
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)