diff options
author | James Simmons <[email protected]> | 2017-08-19 22:26:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-08-22 18:36:50 -0700 |
commit | 1c07bedf73ed866bd3475700301e02ec9efca79a (patch) | |
tree | ec346a3b2aa2cc1692156bc9f1d92e2d5182455d | |
parent | fa6f479cf74c0ccbc7ad079a110b4b07270ae7a2 (diff) |
staging: lustre: uapi: remove libcfs.h from lustre_id.h/lustre_user.h
These are the last UAPI headers that contain libcfs.h which is
internal kernel header. Since it is not available to user land
remove libcfs.h and add the need headers that libcfs.h provided.
Signed-off-by: James Simmons <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245
Reviewed-on: https://review.whamcloud.com/22138
Reviewed-by: Dmitry Eremin <[email protected]>
Reviewed-by: Jinshan Xiong <[email protected]>
Reviewed-by: Fan Yong <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 3 | ||||
-rw-r--r-- | drivers/staging/lustre/lustre/include/lustre/lustre_user.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h index d26c599ae5a2..fe443f814040 100644 --- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h @@ -69,7 +69,8 @@ #ifndef _LUSTRE_IDL_H_ #define _LUSTRE_IDL_H_ -#include "../../../include/linux/libcfs/libcfs.h" +#include <linux/types.h> + #include "../../../include/uapi/linux/lnet/lnet-types.h" /* Defn's shared with user-space. */ #include "lustre_user.h" diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_user.h b/drivers/staging/lustre/lustre/include/lustre/lustre_user.h index edff8dc34430..bee93d044902 100644 --- a/drivers/staging/lustre/lustre/include/lustre/lustre_user.h +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_user.h @@ -43,6 +43,7 @@ */ #ifdef __KERNEL__ +# include <linux/fs.h> # include <linux/quota.h> # include <linux/sched/signal.h> # include <linux/string.h> /* snprintf() */ |