[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT from sunrpc

Trond Myklebust
2003-05-04T17:24:55Z

>>>>> " " == Christoph Hellwig <hch@lst.de> writes:

> - rpciod() (the ernel thread) also bumps the refcount when starting
> and decrements it when exiting. but as a different module
> must initiate this using rpciod_up/rpciod_down this is again
> not needed. (except when a module does rpciod_up without a
> matching rpciod_down - but that a big bug anyway and we
> don't need to partially handle that using module refcounts).

There's another case which you appear to be ignoring: rpciod_down() is
interruptible and does not have to wait on the rpciod() thread to
complete.

Cheers,
Trond