diff options
author | Guobin Huang <huangguobin4@huawei.com> | 2021-04-06 20:08:18 +0800 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-04-06 11:27:38 -0400 |
commit | b73ac6808b0f7994a05ebc38571e2e9eaf98a0f4 (patch) | |
tree | 6d5544e42c440bda048761da81661f23065bd9ee /fs/ceph/cache.c | |
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>
Diffstat (limited to 'fs/ceph/cache.c')
0 files changed, 0 insertions, 0 deletions