From: Andreas Dilger Date: Fri, 16 Apr 2021 06:03:00 +0000 (-0600) Subject: LU-6142 mdc: include linux/idr.h for referenced code X-Git-Tag: 2.14.52~120 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=3589a3141a4b9f94887b3ac5d6202233b06b8996;p=fs%2Flustre-release.git LU-6142 mdc: include linux/idr.h for referenced code Include the header in files that references IDR functionality. Don't depend on its indirect inclusion elsewhere. Test-Parameters: trivial Fixes: 66172e3274ca ("LU-13238 ofd: add OFD access logs") Fixes: d0423abc1adc ("LU-12506 changelog: support large number of MDT") Signed-off-by: Andreas Dilger Change-Id: Icdd03e15d31eabc4a1363d1757fc4db7723ebbe5 Reviewed-on: https://review.whamcloud.com/43346 Tested-by: jenkins Reviewed-by: James Simmons Reviewed-by: Arshad Hussain Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/mdc/mdc_changelog.c b/lustre/mdc/mdc_changelog.c index 968a043..8a3f723 100644 --- a/lustre/mdc/mdc_changelog.c +++ b/lustre/mdc/mdc_changelog.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include diff --git a/lustre/ofd/ofd_access_log.c b/lustre/ofd/ofd_access_log.c index f27a49b..a1db9b2 100644 --- a/lustre/ofd/ofd_access_log.c +++ b/lustre/ofd/ofd_access_log.c @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include