Whamcloud - gitweb
LU-6142 lov: cleanup unneeded macros from lov_request.c 14/52014/2
authorTimothy Day <timday@amazon.com>
Sun, 20 Aug 2023 04:10:27 +0000 (04:10 +0000)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:19:15 +0000 (06:19 +0000)
commit1f4151ba716c023429e5d6ad7530717f99a43c9f
treef3219582fafb219dcff8287ded2784f312123581
parentef414ce6e7b27f683b865134c87886bd97c91636
LU-6142 lov: cleanup unneeded macros from lov_request.c

One macro defines a custom U64_MAX. The other adds
together two numbers, capping the sum at U64_MAX.
These macros are only used in a couple places. The
logic would be clearer and more concise without them.

Also, fix an incorrect comment.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I31012fbddba459df909c27cde8c59461f013c3be
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52014
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lov/lov_request.c