* mds_mfd_close - for force closing files when a client dies
*/
-/*
+/*
* MDS file data handling: file data holds a handle for a file opened
* by a client.
*/
iput(inode);
}
-/* Write access to a file: executors cause a negative count,
+/* Write access to a file: executors cause a negative count,
* writers a positive count. The semaphore is needed to perform
* a check for the sign and then increment or decrement atomically.
*
struct mds_body *body;
int error;
ENTRY;
-
+
mfd = mds_mfd_new();
if (mfd == NULL) {
CERROR("mds: out of memory\n");
else if (child_lockh == &lockh)
ldlm_lock_decref(child_lockh, LCK_EX);
- return rc;
+ RETURN(rc);
}
int mds_open(struct mds_update_record *rec, int offset,
struct mds_obd *mds = &obd->u.mds;
struct inode *pending_dir = mds->mds_pending_dir->d_inode;
void *handle = NULL;
- struct mds_body *request_body = NULL, *reply_body;
+ struct mds_body *request_body = NULL, *reply_body = NULL;
struct dentry_params dp;
ENTRY;
if (last_orphan && unlink_orphan) {
LASSERT(rc == 0); /* mds_put_write_access must have succeeded */
- CWARN("destroying orphan object %s\n", fidname);
+ CDEBUG(D_HA, "destroying orphan object %s\n", fidname);
/* Sadly, there is no easy way to save pending_child from
* mds_reint_unlink() into mfd, so we need to re-lookup,