Whamcloud - gitweb
LU-10560 mdt: remove extra headers from mdt_identity.c 46/31746/2
authorLi Dongyang <dongyangli@ddn.com>
Fri, 23 Mar 2018 04:22:24 +0000 (15:22 +1100)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:51:21 +0000 (19:51 +0000)
commit9ade609b73d9b8ac750dec874a7209b07bcb86cb
tree411a39b189b2da1d05de133b303aaf2bec001992
parentfaec4b0de5686dbc1031bad7fc6e2f7cc4fbcd65
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 <asm/uaccess.h>, also clean up
other no longer needed headers.

Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: Ibcfcf3a466f7e4428994047c9d11bb557d46f9ab
Reviewed-on: https://review.whamcloud.com/31746
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/mdt/mdt_identity.c