commit | b73ac6808b0f7994a05ebc38571e2e9eaf98a0f4 | [log] [tgz] |
---|---|---|
author | Guobin Huang <huangguobin4@huawei.com> | Tue Apr 06 20:08:18 2021 +0800 |
committer | Chuck Lever <chuck.lever@oracle.com> | Tue Apr 06 11:27:38 2021 -0400 |
tree | 6d5544e42c440bda048761da81661f23065bd9ee | |
parent | dee9f6ade389b71b8ef679454f6f4d00cd3075f1 [diff] |
NFSD: Use DEFINE_SPINLOCK() for spinlock spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Guobin Huang <huangguobin4@huawei.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>