* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
#ifndef __LINUX_FLD_H
#define __LINUX_FLD_H
+/** \defgroup fld fld
+ *
+ * @{
+ */
+
#include <lustre/lustre_idl.h>
#include <lustre_mdt.h>
#include <dt_object.h>
struct lu_fld_target {
- struct list_head ft_chain;
+ cfs_list_t ft_chain;
struct obd_export *ft_exp;
struct lu_server_fld *ft_srv;
__u64 ft_idx;
/**
* Protect index modifications */
- struct mutex lsf_lock;
+ cfs_mutex_t lsf_lock;
/**
* Fld service name in form "fld-srv-lustre-MDTXXX" */
/**
* List of exports client FLD knows about. */
- struct list_head lcf_targets;
+ cfs_list_t lcf_targets;
/**
* Current hash to be used to chose an export. */
/**
* Lock protecting exports list and fld_hash. */
- spinlock_t lcf_lock;
+ cfs_spinlock_t lcf_lock;
/**
* Client FLD cache. */
int fld_client_del_target(struct lu_client_fld *fld,
__u64 idx);
+/** @} fld */
+
#endif