From: nikita Date: Fri, 14 Apr 2006 21:32:12 +0000 (+0000) Subject: add fid_is_local(): stub for now X-Git-Tag: v1_8_0_110~486^2~2007 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=45e5210ec12d4914c6a7279419b3c180335bbcba;p=fs%2Flustre-release.git add fid_is_local(): stub for now --- 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 */