From 892ecf5cf9291ab7ecd84fc7f7cc3e67866c6904 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Fri, 16 Apr 2021 00:03:00 -0600 Subject: [PATCH] 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. Lustre-change: https://review.whamcloud.com/43346 Lustre-commit: 3589a3141a4b9f94887b3ac5d6202233b06b8996 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-by: James Simmons Reviewed-by: Arshad Hussain Reviewed-on: https://review.whamcloud.com/44233 Tested-by: jenkins Tested-by: Maloo --- lustre/mdc/mdc_changelog.c | 1 + lustre/ofd/ofd_access_log.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lustre/mdc/mdc_changelog.c b/lustre/mdc/mdc_changelog.c index ee11f6b..a850a11 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 791d027..6ed1aa7 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 -- 1.8.3.1