ecryptfs: use DEFINE_MUTEX() for mutex lock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Thu, 24 Dec 2020 13:22:33 +0000 (21:22 +0800)
committerTyler Hicks <code@tyhicks.com>
Sat, 30 Jan 2021 17:09:05 +0000 (17:09 +0000)
commit902af369942f8d0a6bdaa8466ff0d84d3d9b03a8
tree0ba90117711de0989052b0290dcb079d77d58d91
parentd0eb2d867cf3dbba79ef4c678797e6b58638392c
ecryptfs: 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>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/crypto.c