Whamcloud - gitweb
LU-8837 ptlrpc: fix problem with distclean 26/49126/2
authorMr NeilBrown <neilb@suse.de>
Thu, 10 Nov 2022 22:23:38 +0000 (09:23 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 11 Nov 2022 20:25:25 +0000 (20:25 +0000)
commit4fe328b39be6188d7e470260943e7b6aba739422
tree8de9c481d091b794d954781d505e46c7d80a6347
parent3737b28a9d014a0d0cf6a072f874990e771e06a3
LU-8837 ptlrpc: fix problem with distclean

"make distclean" follows the filesystem hierarchy so ldlm/Makefile
will be cleaned before ptlrpc/Makefile is read, which triggers an
error now that ptlrpc/Makefile tries to include ldlm/Makefile

This is an uninteresting error as we don't need to include
ldlm/Makefile in the distclean case.

So replace the "include" with "-include" which suppresses the error.

Fixes: f32bdde0574d ("LU-8837 lustre: make ldlm and target file lists")
Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I66c4552b3806113450f9636b7916aff7ed69bda3
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49126
Tested-by: James Simmons <jsimmons@infradead.org>
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>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/Makefile.in