/* mds/mds_log.c */
int mds_log_op_unlink(struct obd_device *obd, struct inode *inode,
struct lov_mds_md *lmm, int lmm_size,
- struct llog_cookie *logcookies, int cookies_size);
+ struct llog_cookie *logcookies, int cookies_size,
+ struct llog_create_locks **res);
int mds_llog_init(struct obd_device *obd, struct obd_llogs *,
struct obd_device *tgt, int count, struct llog_catid *logid);
int mds_llog_finish(struct obd_device *obd, struct obd_llogs *, int count);
struct lov_stripe_md *ea, struct obd_trans_info *oti);
/* mds/handler.c */
+int mds_handle(struct ptlrpc_request *req);
extern struct lvfs_callback_ops mds_lvfs_ops;
int mds_lov_clean(struct obd_device *obd);
extern int mds_iocontrol(unsigned int cmd, struct obd_export *exp,
int mds_pack_md(struct obd_device *, struct lustre_msg *, int offset,
struct mds_body *, struct inode *, int lock);
void mds_pack_dentry2fid(struct ll_fid *, struct dentry *);
+void mds_pack_dentry2body(struct mds_body *b, struct dentry *dentry);
void mds_pack_inode2fid(struct obd_device *, struct ll_fid *, struct inode *);
void mds_pack_inode2body(struct obd_device *, struct mds_body *, struct inode *);
#endif
void mds_unlock_slave_objs(struct obd_device *, struct dentry *,
struct lustre_handle *);
int mds_lock_and_check_slave(int, struct ptlrpc_request *, struct lustre_handle *);
+int mds_convert_mea_ea(struct obd_device *, struct inode *, struct lov_mds_md *, int);
#endif /* _MDS_INTERNAL_H */