staging: lustre: ldlm: use list_first_entry in ldlm_lock
authorNeilBrown <neilb@suse.com>
Mon, 30 Oct 2017 04:59:27 +0000 (15:59 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:37 +0000 (09:20 +0100)
commitef7e70ae9943c92ea09b2200c0e43aba0d47c4b7
treeb6d978fa342fcdcd2fd5b391ee6d564c65dbf5fe
parent3d9c54b5f9177049f9edeb1227bdab7adf77686f
staging: lustre: ldlm: use list_first_entry in ldlm_lock

This make the code (slightly) more readable.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c