Whamcloud - gitweb
LU-14095 gss: use hlist_unhashed() instead of ->next 14/40514/4
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 2 Nov 2020 14:27:00 +0000 (23:27 +0900)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Dec 2020 07:26:39 +0000 (07:26 +0000)
commita619ceabf44a561bcde1d7128b382f41deca602f
treeef09f666f85e636c1cdd028f86d736aa6b267fdc
parente7d91d9b8cf291d638857b6bd904469b46d1273a
LU-14095 gss: use hlist_unhashed() instead of ->next

In cache_detail list-mutation primitives, verifying the status of an
entry must be done using hlist_unhashed(), in case 'struct cache_head'
has a 'cache_list' field.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I1410eca9a647b74127cf40b8f3d6b68d055f773a
Reviewed-on: https://review.whamcloud.com/40514
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ptlrpc/gss/gss_svc_upcall.c