Messages in this thread Patch in this message | | | Subject | loop device trivial cleanup... | From | "Yury V. Umanets" <> | Date | Sat, 24 Jan 2004 20:32:35 +0300 |
| |
Hello Andrew,
This is found redundant assignment in loop back device driver. See attachment.
-- umka --- ./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);
| |