From: John L. Hammond Date: Thu, 3 Sep 2020 16:48:42 +0000 (-0500) Subject: LU-13945 utils: add includes for copy_file_range() X-Git-Tag: 2.13.56~52 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F39821%2F2;p=fs%2Flustre-release.git LU-13945 utils: add includes for copy_file_range() In lstddef.h include the needed headers to support the compat definition of copy_file_range(). Test-Parameters: trivial Signed-off-by: John L. Hammond Change-Id: I83544cbbeb6407f4c3bb9fa3bd2a1297f2b2a2dc Reviewed-on: https://review.whamcloud.com/39821 Reviewed-by: James Simmons Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Gu Zheng Reviewed-by: Andreas Dilger --- diff --git a/lustre/utils/lstddef.h b/lustre/utils/lstddef.h index 7b785a7..ee7d9b5 100644 --- a/lustre/utils/lstddef.h +++ b/lustre/utils/lstddef.h @@ -1,8 +1,11 @@ #ifndef _LSTDDEF_H #define _LSTDDEF_H +#include #include #include +#include +#include #define __ALIGN_LSTDDEF_MASK(x, mask) (((x) + (mask)) & ~(mask)) #define __ALIGN_LSTDDEF(x, a) __ALIGN_LSTDDEF_MASK(x, (typeof(x))(a) - 1)