-/*
- * used when destroying orphanes and from mds_reint_unlink() when MDS wants to
- * destroy objects on OSS.
- */
-int
-mds_unlink_object(struct mds_obd *mds, struct inode *inode,
- struct lov_mds_md *lmm, int lmm_size,
- struct llog_cookie *logcookies,
- int log_unlink, int async)
+int mds_osc_destroy_orphan(struct obd_device *obd,
+ umode_t mode,
+ struct lov_mds_md *lmm,
+ int lmm_size,
+ struct llog_cookie *logcookies,
+ int log_unlink)