From: <he...@us...> - 2005-02-24 21:36:51
|
Update of /cvsroot/gc-linux/linux/drivers/block In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32007/drivers/block Modified Files: gcn-aram.c Log Message: Several spin lock fixes. Index: gcn-aram.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/gcn-aram.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- gcn-aram.c 16 Jan 2005 23:27:42 -0000 1.4 +++ gcn-aram.c 24 Feb 2005 21:36:42 -0000 1.5 @@ -166,8 +166,6 @@ unsigned long len; unsigned long flags; - spin_lock_irqsave(&aram_lock,flags); - while ((req = elv_next_request(q))) { /* get length */ start = req->sector << 9; @@ -207,7 +205,6 @@ goto exit_func; } exit_func: - spin_unlock_irqrestore(&aram_lock,flags); } static int aram_open(struct inode *inode, struct file *filp) |