From 45e5210ec12d4914c6a7279419b3c180335bbcba Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 14 Apr 2006 21:32:12 +0000 Subject: [PATCH] add fid_is_local(): stub for now --- lustre/include/linux/lustre_fid.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lustre/include/linux/lustre_fid.h b/lustre/include/linux/lustre_fid.h index 14db4c1..4c3a8da 100644 --- a/lustre/include/linux/lustre_fid.h +++ b/lustre/include/linux/lustre_fid.h @@ -57,4 +57,13 @@ int seq_mgr_read(struct lu_context *, struct lu_seq_mgr *); int seq_mgr_write(struct lu_context *, struct lu_seq_mgr *); int seq_mgr_alloc(struct lu_context *, struct lu_seq_mgr *, __u64 *); +#if 0 +int fid_is_local(struct lu_site *site, const struct lu_fid *fid); +#else +static inline int fid_is_local(struct lu_site *site, const struct lu_fid *fid) +{ + return 1; +} +#endif + #endif /* __LINUX_OBD_CLASS_H */ -- 1.8.3.1