Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire

From: Matias BjÃrling
Date: Fri Nov 27 2015 - 14:42:19 EST


On 11/27/2015 01:04 PM, Wenwei Tao wrote:
Hi Matias
Previous version patch miss acquire lock before find supported manager
in nvm_init().
And find supported manager code is duplicated in nvm_init() and
nvm_create_target(), we may move it into a function to make the code
more clean.
And find supported manager may blocked while holding the lock, this is
not good.


Ok, thanks. I'll pick this one up instead then.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/