* 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.
*/
/*
/* other MD servers in cluster */
mdsno_t cmm_local_num;
__u32 cmm_tgt_count;
- struct list_head cmm_targets;
- spinlock_t cmm_tgt_guard;
+ cfs_list_t cmm_targets;
+ cfs_spinlock_t cmm_tgt_guard;
cfs_proc_dir_entry_t *cmm_proc_entry;
struct lprocfs_stats *cmm_stats;
};
}
int cmm_upcall(const struct lu_env *env, struct md_device *md,
- enum md_upcall_event ev);
+ enum md_upcall_event ev, void *data);
#ifdef HAVE_SPLIT_SUPPORT