Re: [PATCH] sunrpc: cache_register can use wrong module reference

2005-08-02 Thread Bruce Allan
On Tue, 2005-08-02 at 14:51, Christoph Hellwig wrote: > On Tue, Aug 02, 2005 at 02:29:36PM -0700, Bruce Allan wrote: > > [resending to Neil, Trond and linux-nfs list; initial copy to lkml] > > > > When registering an RPC cache, cache_register() always sets the owner as > > the sunrpc module. Howe

Re: [PATCH] sunrpc: cache_register can use wrong module reference

2005-08-02 Thread Christoph Hellwig
On Tue, Aug 02, 2005 at 02:29:36PM -0700, Bruce Allan wrote: > [resending to Neil, Trond and linux-nfs list; initial copy to lkml] > > When registering an RPC cache, cache_register() always sets the owner as > the sunrpc module. However, there are RPC caches owned by other modules. > With the in

[PATCH] sunrpc: cache_register can use wrong module reference

2005-08-02 Thread Bruce Allan
[resending to Neil, Trond and linux-nfs list; initial copy to lkml] When registering an RPC cache, cache_register() always sets the owner as the sunrpc module. However, there are RPC caches owned by other modules. With the incorrect owner setting, the real owning module can be removed potentiall