Whamcloud - gitweb
LU-6142 lustre: use init_wait(), not init_waitqueue_entry() 00/39300/2
authorMr NeilBrown <neilb@suse.de>
Tue, 7 Jul 2020 22:14:21 +0000 (08:14 +1000)
committerOleg Drokin <green@whamcloud.com>
Thu, 13 Aug 2020 06:00:17 +0000 (06:00 +0000)
commitf6aa7a46d36b38d52692ce4af9b73c5561c66691
treeee21c44fdfe0e492ad9805cdf40f60cd363f0c77
parente1fb44b04a4f2c40c0531100a78c26bd617e0d3d
LU-6142 lustre: use init_wait(), not init_waitqueue_entry()

init_waitqueue_entry(foo, current)

is equivalent to

    init_wait(foo)

So use the shorter version - in lustre and libcfs.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I621364d8f6b155df3f2159dfca39f252abc81c76
Reviewed-on: https://review.whamcloud.com/39300
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/tracefile.c
lustre/fid/fid_request.c
lustre/obdclass/upcall_cache.c
lustre/ptlrpc/gss/gss_svc_upcall.c
lustre/ptlrpc/sec_bulk.c