From: John L. Hammond Date: Mon, 18 Aug 2014 17:30:28 +0000 (-0500) Subject: LU-2675 lustre: move lustre_intent.h to lustre/include X-Git-Tag: 2.6.53~74 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7d7b55ac62aec8d5ecbd83b50c1ee8fa94a67a89 LU-2675 lustre: move lustre_intent.h to lustre/include Move lustre_intent.h from lustre/include/linux to lustre/include. Signed-off-by: John L. Hammond Change-Id: I8b3947bc558e6721e4a238526497124d3ad193d0 Reviewed-on: http://review.whamcloud.com/11499 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Bob Glossman --- diff --git a/lustre/include/Makefile.am b/lustre/include/Makefile.am index c40cf4e..ba61f17 100644 --- a/lustre/include/Makefile.am +++ b/lustre/include/Makefile.am @@ -64,6 +64,7 @@ EXTRA_DIST = \ lustre_handles.h \ lustre_idmap.h \ lustre_import.h \ + lustre_intent.h \ lustre_ioctl.h \ lustre_lfsck.h \ lustre_lib.h \ diff --git a/lustre/include/linux/Makefile.am b/lustre/include/linux/Makefile.am index d646b21..d3ff9a0 100644 --- a/lustre/include/linux/Makefile.am +++ b/lustre/include/linux/Makefile.am @@ -45,4 +45,4 @@ endif EXTRA_DIST = lustre_lib.h \ lustre_net.h obd_class.h obd_support.h \ obd.h lvfs.h lustre_log.h lustre_compat25.h lustre_lite.h lustre_quota.h \ - lustre_user.h lustre_patchless_compat.h lustre_intent.h + lustre_user.h lustre_patchless_compat.h diff --git a/lustre/include/linux/obd.h b/lustre/include/linux/obd.h index 2b78cec..fcb846e 100644 --- a/lustre/include/linux/obd.h +++ b/lustre/include/linux/obd.h @@ -48,7 +48,6 @@ #include /* for struct task_struct, for current.h */ #include #include -#include struct ll_iattr { struct iattr iattr; diff --git a/lustre/include/linux/lustre_intent.h b/lustre/include/lustre_intent.h similarity index 100% rename from lustre/include/linux/lustre_intent.h rename to lustre/include/lustre_intent.h diff --git a/lustre/include/lustre_mdc.h b/lustre/include/lustre_mdc.h index 85f3f31..c99ab17 100644 --- a/lustre/include/lustre_mdc.h +++ b/lustre/include/lustre_mdc.h @@ -53,8 +53,8 @@ #ifdef CONFIG_FS_POSIX_ACL # include #endif /* CONFIG_FS_POSIX_ACL */ -#include #include +#include #include #include #include @@ -192,9 +192,6 @@ static inline void mdc_update_max_ea_from_body(struct obd_export *exp, /* mdc/mdc_locks.c */ -int it_disposition(const struct lookup_intent *it, int flag); -void it_clear_disposition(struct lookup_intent *it, int flag); -void it_set_disposition(struct lookup_intent *it, int flag); int it_open_error(int phase, struct lookup_intent *it); #ifdef HAVE_SPLIT_SUPPORT int mdc_sendpage(struct obd_export *exp, const struct lu_fid *fid, diff --git a/lustre/include/obd.h b/lustre/include/obd.h index 61f53be..9c0c680 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -50,6 +50,7 @@ #include #include #include +#include #include #include diff --git a/lustre/ldlm/ldlm_lock.c b/lustre/ldlm/ldlm_lock.c index 599666d6..3e132b4 100644 --- a/lustre/ldlm/ldlm_lock.c +++ b/lustre/ldlm/ldlm_lock.c @@ -42,7 +42,6 @@ #define DEBUG_SUBSYSTEM S_LDLM #include -#include #include #include "ldlm_internal.h" diff --git a/lustre/llite/llite_internal.h b/lustre/llite/llite_internal.h index 3c3def7..16dc8ef 100644 --- a/lustre/llite/llite_internal.h +++ b/lustre/llite/llite_internal.h @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #ifndef FMODE_EXEC diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index 4bd0b3c..a1499b1 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index 848048c..0cddc30 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -37,11 +37,11 @@ #define DEBUG_SUBSYSTEM S_MDC #include -#include #include #include #include #include /* fid_res_name_eq() */ +#include #include #include #include