Whamcloud - gitweb
LU-14291 batch: don't include lustre_update.h for client only builds 58/50258/2
authorJames Simmons <jsimmons@infradead.org>
Fri, 10 Mar 2023 14:12:27 +0000 (09:12 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Mar 2023 22:18:09 +0000 (22:18 +0000)
commit12c34651994b77ac0cf231cd710f9d511845a4e1
tree90613d3d0353a1cdc2e1185fca93138e5bc2bfcc
parentd5b26443a3d33d68e5747fecc591baa887bc5b89
LU-14291 batch: don't include lustre_update.h for client only builds

The header lustre_update.h contains a huge amount of server only
code. Remove lustre_update.h for a client only build and include
only what we need for client directly.

Test-Parameters: trivial
Change-Id: I84dc39672340045bde09249d98f32aa9abec63b8
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50258
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_batch.c
lustre/ptlrpc/batch.c