struct md_identity *mu_identity;
};
-#define MD_CAPAINFO_MAX 5
+enum {
+ MD_CAPAINFO_MAX = 5
+};
/** there are at most 5 fids in one operation, see rename, NOTE the last one
* is a temporary one used for is_subdir() */
};
struct md_device {
- struct lu_device md_lu_dev;
+ struct lu_device md_lu_dev;
const struct md_device_operations *md_ops;
- struct md_upcall md_upcall;
+ struct md_upcall md_upcall;
};
static inline void md_upcall_init(struct md_device *m, void *upcl)
}
struct md_object {
- struct lu_object mo_lu;
+ struct lu_object mo_lu;
const struct md_object_operations *mo_ops;
const struct md_dir_operations *mo_dir_ops;
};
static inline int md_device_init(struct md_device *md, struct lu_device_type *t)
{
- return lu_device_init(&md->md_lu_dev, t);
+ return lu_device_init(&md->md_lu_dev, t);
}
static inline void md_device_fini(struct md_device *md)
{
- lu_device_fini(&md->md_lu_dev);
+ lu_device_fini(&md->md_lu_dev);
}
static inline struct md_object *md_object_find_slice(const struct lu_env *env,