Whamcloud - gitweb
b=19016
[fs/lustre-release.git] / lustre / include / lclient.h
index dfd7f65..6d60864 100644 (file)
@@ -327,7 +327,8 @@ int ccc_io_one_lock(const struct lu_env *env, struct cl_io *io,
                     loff_t start, loff_t end);
 void ccc_io_end(const struct lu_env *env, const struct cl_io_slice *ios);
 int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,
-                  struct cl_io *io, loff_t pos, int vfslock);
+                  struct cl_io *io, loff_t start, size_t count, int vfslock,
+                  int *exceed);
 void ccc_req_completion(const struct lu_env *env,
                         const struct cl_req_slice *slice, int ioret);
 void ccc_req_attr_set(const struct lu_env *env,const struct cl_req_slice *slice,
@@ -358,6 +359,8 @@ int cl_inode_init(struct inode *inode, struct lustre_md *md);
 void cl_inode_fini(struct inode *inode);
 int cl_local_size(struct inode *inode);
 
+__u16 ll_dirent_type_get(struct lu_dirent *ent);
+
 #ifdef INVARIANT_CHECK
 # define CLOBINVRNT(env, clob, expr)                                    \
   do {                                                                  \
@@ -371,5 +374,9 @@ int cl_local_size(struct inode *inode);
         ((void)sizeof(env), (void)sizeof(clob), (void)sizeof !!(expr))
 #endif /* !INVARIANT_CHECK */
 
+int cl_init_ea_size(struct obd_export *md_exp, struct obd_export *dt_exp);
+int cl_ocd_update(struct obd_device *host,
+                  struct obd_device *watched,
+                  enum obd_notify_event ev, void *owner);
 
 #endif /*LCLIENT_H */