From: Li Dongyang Date: Fri, 23 Mar 2018 04:22:24 +0000 (+1100) Subject: LU-10560 mdt: remove extra headers from mdt_identity.c X-Git-Tag: 2.11.51~28 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F31746%2F2;p=fs%2Flustre-release.git LU-10560 mdt: remove extra headers from mdt_identity.c This avoids a compile problem with 4.14 kernels: CC [M] /root/lustre-release/lustre/mdt/mdt_identity.o In file included from lustre/mdt/mdt_identity.c:49:0: ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’: error: dereferencing pointer to incomplete type current->thread.addr_limit = fs; We don't need to include , also clean up other no longer needed headers. Signed-off-by: Li Dongyang Change-Id: Ibcfcf3a466f7e4428994047c9d11bb557d46f9ab Reviewed-on: https://review.whamcloud.com/31746 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons --- diff --git a/lustre/mdt/mdt_identity.c b/lustre/mdt/mdt_identity.c index e8ec709..4846345 100644 --- a/lustre/mdt/mdt_identity.c +++ b/lustre/mdt/mdt_identity.c @@ -37,30 +37,6 @@ #define DEBUG_SUBSYSTEM S_MDS -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - #include "mdt_internal.h" static void mdt_identity_entry_init(struct upcall_cache_entry *entry,