Whamcloud - gitweb
add fid_is_local(): stub for now
authornikita <nikita>
Fri, 14 Apr 2006 21:32:12 +0000 (21:32 +0000)
committernikita <nikita>
Fri, 14 Apr 2006 21:32:12 +0000 (21:32 +0000)
lustre/include/linux/lustre_fid.h

index 14db4c1..4c3a8da 100644 (file)
@@ -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 */