ext4: use DEFINE_MUTEX() for mutex lock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Thu, 24 Dec 2020 13:22:44 +0000 (21:22 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Feb 2021 04:16:01 +0000 (23:16 -0500)
commit59ebc7fd74506367b109497eeef36034e648c943
tree4e1f1e5a0b3be63e9f88739271678fe8353013a6
parent1048ba83fb1c00cd24172e23e8263972f6b5d9ac
ext4: use DEFINE_MUTEX() for mutex lock

mutex lock can be initialized automatically with DEFINE_MUTEX()
rather than explicitly calling mutex_init().

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20201224132244.30907-1-zhengyongjun3@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c