mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
4bab690930
When try_module_get() fails in the nvme_dev_open() it returns without
releasing the ctrl reference which was taken earlier.
Put the ctrl reference which is taken before calling the
try_module_get() in the error return code path.
Fixes:
|
||
---|---|---|
.. | ||
host | ||
target | ||
Kconfig | ||
Makefile |