{
/* update size */
body->size += obj->size;
-
- /* update atime */
- /* update ctime */
- /* update mtime */
- /* update nlink */
+/* body->atime = obj->atime;
+ body->ctime = obj->ctime;
+ body->mtime = obj->mtime;
+ body->nlink = obj->nlink;*/
}
int lmv_lookup_slaves(struct obd_export *exp, struct ptlrpc_request **reqp)
int objcount; /* number of slaves */
struct lmv_inode *objs; /* array of dirobjs */
struct obd_device *obd; /* pointer to LMV itself */
+ unsigned long mtime;
+ unsigned long ctime;
+ unsigned long atime;
+ unsigned long nlink;
};
static inline void
ptlrpc_req_finished(req);
}
- if (rc) {
- lmv_put_obj(obj);
- RETURN(rc);
- }
+ if (rc)
+ break;
}
lmv_put_obj(obj);
} else {
(unsigned long)fid->generation);
GOTO(cleanup, obj = ERR_PTR(-ENOMEM));
}
-
- lmv_put_obj(obj);
cleanup:
if (req)
ptlrpc_req_finished(req);