Whamcloud - gitweb
LU-9897 utils: have lfs.c use lstddef.h 21/38921/4
authorJames Simmons <jsimmons@infradead.org>
Fri, 12 Jun 2020 18:12:38 +0000 (14:12 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Jun 2020 16:51:21 +0000 (16:51 +0000)
commitb12c5467366f1ce66bf8fe9973803414c947c322
treebcd4a62a3c82d3ca1e0790dff2380fa0bf535db7
parent9e83e05ebc20356d9b2c429b95ee003fb460760c
LU-9897 utils: have lfs.c use lstddef.h

Instead of redefining ARRAY_SIZE in lfs.c we can use the macros
in lstddef.h

Test-Parameters: trivial
Change-Id: I33bca9773b609f1996ea66098edb67426273f801
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/38921
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
lustre/utils/lfs.c
lustre/utils/lstddef.h