int rc;
ENTRY;
- /* notifying metadata target of putting inode. */
+ /*
+ * notifying metadata target that any in memory data assosiated
+ * with object @id should be removed.
+ */
if (atomic_read(&inode->i_count) == 1) {
ll_inode2id(&id, inode);
rc = md_put_inode(sbi->ll_lmv_exp, &id);
if (rc) {
- CERROR("md_put_inode() failed, "
- "error %d.\n", rc);
+ CDEBUG("md_put_inode() failed, error %d\n",
+ rc);
}
}
int lmv_put_inode(struct obd_export *exp, struct lustre_id *id)
{
ENTRY;
-
- if (!lmv_delete_obj(exp, id)) {
- CDEBUG(D_OTHER, "object "DLID4" is not found.\n",
- OLID4(id));
- }
-
+ lmv_delete_obj(exp, id);
RETURN(0);
}