Whamcloud - gitweb
- tiny fix to ost_request.c
authorbraam <braam>
Sun, 3 Mar 2002 04:25:40 +0000 (04:25 +0000)
committerbraam <braam>
Sun, 3 Mar 2002 04:25:40 +0000 (04:25 +0000)
lustre/llite/namei.c
lustre/osc/osc_request.c

index ced42c7..ac6fb3d 100644 (file)
@@ -291,7 +291,8 @@ static int ll_create (struct inode * dir, struct dentry * dentry, int mode)
        }
 
        mode = mode | S_IFREG;
-        CDEBUG(D_DENTRY, "name %s mode %o\n", dentry->d_name.name, mode);
+        CDEBUG(D_DENTRY, "name %s mode %o o_id %lld\n", 
+              dentry->d_name.name, mode, oa.o_id);
        inode = ll_create_node(dir, dentry->d_name.name, dentry->d_name.len, 
                               NULL, 0,
                               mode, oa.o_id);
index 92e1b95..f6f0a2b 100644 (file)
@@ -186,6 +186,7 @@ static int osc_create(struct obd_conn *conn, struct obdo *oa)
        }
        
        memcpy(&request->rq_req.ost->oa, oa, sizeof(*oa));
+        request->rq_req.ost->connid = conn->oc_id;
        request->rq_req.ost->oa.o_valid = ~0;
        request->rq_replen = 
                sizeof(struct ptlrep_hdr) + sizeof(struct ost_rep);