[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210104144559.GF6430@twin.jikos.cz>
Date: Mon, 4 Jan 2021 15:45:59 +0100
From: David Sterba <dsterba@...e.cz>
To: Zheng Yongjun <zhengyongjun3@...wei.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: 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?
Powered by blists - more mailing lists