[sr-dev] unregister does not lock udomain
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Mon May 13 11:04:02 CEST 2013
On 13/05/13 09:33, Juha Heinanen wrote:
> get_urecord_by_ruid() calls lock_ulslot(). does that lock also udomain?
Yes
> to me it would look better if lock/ulock would be done at the same level
> in the code.
Indeed, but the ruid based function was already there, behaved this way,
and was exported to other modules. I had no time (or desire) to make
deeper changes so I just used what was already there, but I don't have
any objections to someone else doing it more nicely.
More information about the sr-dev
mailing list