void fid_to_le(struct lu_fid *dst, const struct lu_fid *src);
-/*
- * fld (fid location database) interface.
- */
-struct lu_fld {
- struct proc_dir_entry *fld_proc_entry;
- struct ptlrpc_service *fld_service;
- struct dt_device *fld_dt;
- struct dt_object *fld_obj;
- struct lu_fid fld_fid; /* used during initialization */
- struct dt_index_cookie *fld_cookie;
-};
-
-int fld_server_init(const struct lu_context *ctx, struct lu_fld *fld,
- struct dt_device *dt);
-void fld_server_fini(const struct lu_context *ctx, struct lu_fld *fld);
#endif /* __LINUX_OBD_CLASS_H */
--- /dev/null
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+ *
+ * Copyright (C) 2006 Cluster File Systems, Inc.
+ *
+ * This file is part of Lustre, http://www.lustre.org.
+ *
+ * Lustre is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * Lustre is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Lustre; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#ifndef __LINUX_FLD_H
+#define __LINUX_FLD_H
+/*
+ * fld (fid location database) interface.
+ */
+struct lu_fld {
+ struct proc_dir_entry *fld_proc_entry;
+ struct ptlrpc_service *fld_service;
+ struct dt_device *fld_dt;
+ struct dt_object *fld_obj;
+ struct lu_fid fld_fid; /* used during initialization */
+ struct dt_index_cookie *fld_cookie;
+};
+
+int fld_server_init(const struct lu_context *ctx, struct lu_fld *fld,
+ struct dt_device *dt);
+void fld_server_fini(const struct lu_context *ctx, struct lu_fld *fld);
+
+#endif