patch-2.3.39 linux/drivers/ap1000/ddv.c
Next file: linux/drivers/atm/nicstar.c
Previous file: linux/drivers/acorn/block/mfmhd.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sat Jan 8 21:36:20 2000
- Orig file:
v2.3.38/linux/drivers/ap1000/ddv.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/ap1000/ddv.c linux/drivers/ap1000/ddv.c
@@ -166,7 +166,6 @@
#if DEBUG
printk("ddv_release started\n");
#endif
- sync_dev(inode->i_rdev);
#if DEBUG
printk("ddv_release done\n");
#endif
@@ -386,10 +385,11 @@
save_flags(flags); cli();
while (!rem_queue) {
- spin_lock_irq(¤t->sigmask_lock);
+ spin_lock(¤t->sigmask_lock);
flush_signals(current);
- spin_unlock_irq(¤t->sigmask_lock);
+ spin_unlock(¤t->sigmask_lock);
interruptible_sleep_on(&ddv_daemon_wait);
+ __sti(); cli();
}
rem = rem_queue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)