SUNRPC: cache must take a reference to the cache detail's module on open()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Aug 2009 22:13:00 +0000 (18:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Aug 2009 22:22:16 +0000 (18:22 -0400)
commitf7e86ab92f2198d30828a1a327ad2085e4a7ff7d
treed4bb64c7ae10c67c0292af6b1a2b7d1e25f19480
parent7d7ea882898f23989209d0359691b356f73240dc
SUNRPC: cache must take a reference to the cache detail's module on open()

Otherwise we Oops if the module containing the cache detail is removed
before all cache readers have closed the file.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/cache.c