Re: [PATCH v2 -next] btrfs: use DEFINE_MUTEX() for mutex lock
On Thu, Dec 24, 2020 at 09:22:17PM +0800, Zheng Yongjun wrote: > mutex lock can be initialized automatically with DEFINE_MUTEX() > rather than explicitly calling mutex_init().
And is there some reason why it should be done that way?