Whamcloud - gitweb
LU-16796 lnet: Change sfw_session to use refcount_t 38/53438/4
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Wed, 13 Dec 2023 09:20:47 +0000 (14:50 +0530)
committerOleg Drokin <green@whamcloud.com>
Sun, 4 Feb 2024 08:30:02 +0000 (08:30 +0000)
commit82385d6e2248a1351721b8b6337d47353c9ccc26
treee64ea6c5e4a814ff14f861eef5b4c469fbe8c70c
parent7375cd6da6329e4d4a4bfb600d4fc9552b3c4c6f
LU-16796 lnet: Change sfw_session to use refcount_t

This patch changes struct sfw_session to use
refcount_t instead of atomic_t

This patch also address checkpatch errors.

Test-Parameters: trivial testlist=lnet-selftest
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: Ifa77b8d9280756ce52c8f59d1d193a866f0ba8a7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53438
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/selftest/framework.c
lnet/selftest/selftest.h