+int mds_postrecov_common(struct obd_device *obd);
+extern struct lvfs_callback_ops mds_lvfs_ops;
+
+extern int mds_iocontrol(unsigned int cmd,
+ struct obd_export *exp,
+ int len, void *karg,
+ void *uarg);
+
+extern int mds_lock_mode_for_dir(struct obd_device *,
+ struct dentry *, int);
+
+int mds_fs_setup_rootid(struct obd_device *obd);
+int mds_fs_setup_virtid(struct obd_device *obd);
+
+__u64 mds_alloc_fid(struct obd_device *obd);
+
+int mds_alloc_inode_sid(struct obd_device *, struct inode *,
+ void *, struct lustre_id *);
+
+int mds_update_inode_sid(struct obd_device *, struct inode *,
+ void *, struct lustre_id *);
+
+int mds_read_inode_sid(struct obd_device *, struct inode *,
+ struct lustre_id *);
+
+int mds_update_inode_mid(struct obd_device *, struct inode *,
+ void *, struct lustre_id *);
+
+int mds_read_inode_mid(struct obd_device *, struct inode *,
+ struct lustre_id *);
+
+void mds_commit_last_fid_cb(struct obd_device *, __u64 fid,
+ void *data, int error);
+
+void mds_commit_last_transno_cb(struct obd_device *, __u64 transno,
+ void *data, int error);
+
+void mds_set_last_fid(struct obd_device *obd, __u64 fid);