Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 23 Oct 2001 07:14:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 23 Oct 2001 07:14:02 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:2232 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Tue, 23 Oct 2001 07:13:54 -0400 Date: Tue, 23 Oct 2001 07:14:27 -0400 (EDT) From: Alexander Viro To: Christoph Hellwig cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [CFT][PATCH] cdrom-related rmmod races In-Reply-To: <200110231057.f9NAvGI31569@ns.caldera.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Oct 2001, Christoph Hellwig wrote: > Wouldn't it be easier to add a 'struct module *owner' to struct > block_device_operations? All of them share (in the current tree) block_device_operations - cdrom_fops from drivers/cdrom/cdrom.c. What will you put as ->owner there? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/