Whamcloud - gitweb
LU-11986 libcfs: add compat for d_hash_and_lookup() 29/38529/4
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 7 May 2020 11:19:58 +0000 (05:19 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 May 2020 23:02:31 +0000 (23:02 +0000)
Add compatibility for older kernels that do not export the
d_hash_and_lookup() function, even though it exists forever.

Fixes: 9d42660e173e ("LU-11986 lnet: properly cleanup lnet debugfs files")
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I10d6547f6b17665880cacfbf87d4dbfd386b92ff
Reviewed-on: https://review.whamcloud.com/38529
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>

No differences found