* loop device trivial cleanup...
@ 2004-01-24 17:32 Yury V. Umanets
0 siblings, 0 replies; only message in thread
From: Yury V. Umanets @ 2004-01-24 17:32 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
Hello Andrew,
This is found redundant assignment in loop back device driver. See
attachment.
--
umka
[-- Attachment #2: linux-2.6.2-rc1-mm2-loop-redundant.diff --]
[-- Type: text/x-patch, Size: 452 bytes --]
--- ./linux-2.6.2-rc1-mm2/drivers/block/loop.c.orig 2004-01-24 20:18:48.000000000 +0300
+++ ./linux-2.6.2-rc1-mm2/drivers/block/loop.c 2004-01-24 20:22:19.955190864 +0300
@@ -1014,7 +1014,6 @@ int __init loop_init(void)
lo->lo_queue = blk_alloc_queue(GFP_KERNEL);
if (!lo->lo_queue)
goto out_mem4;
- disks[i]->queue = lo->lo_queue;
init_MUTEX(&lo->lo_ctl_mutex);
init_MUTEX_LOCKED(&lo->lo_sem);
init_MUTEX_LOCKED(&lo->lo_bh_mutex);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-24 17:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24 17:32 loop device trivial cleanup Yury V. Umanets
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox