Whamcloud - gitweb
DDN-1956 audit: scandir's filter returns non-zero to include
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 15 Mar 2021 13:48:29 +0000 (22:48 +0900)
committerJohn L. Hammond <jhammond@whamcloud.com>
Fri, 25 Mar 2022 19:59:07 +0000 (19:59 +0000)
commitd52cb65e9a406d12d4213acf7c10ce68439f3ca0
tree21320469944bbd19f1bf42dba6594cf4e834ee66
parent564eb59e9ba3d549c1790f7c80167c2c8f37336f
DDN-1956 audit: scandir's filter returns non-zero to include

When a filter function is used for scandir to select which entries
are to be included, the select routine should return a non-zero
value if the directory entry is to be included.

Fixes: dd3ba5e ("EX-274 lipe: add style check of C language code")
Change-Id: Ic02dc39e9a4e23286916bae92e9ee7a963406e3e
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-on: https://review.whamcloud.com/46905
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lipe/src/laudit-report.c
lipe/src/laudit.c