Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Fri, 3 Jun 2005 18:11:02 +0000 (18:11 +0000)
committeradilger <adilger>
Fri, 3 Jun 2005 18:11:02 +0000 (18:11 +0000)
Setting a default stripe on the filesystem root prevented the
filesystem from being remounted.
The client was sending extra request flags in the root getattr
request and did not allocate a reply buffer for the dir EA.
b=6367
r=phil

lustre/mdc/mdc_locks.c

index ab02ee8..bb3e974 100644 (file)
@@ -329,7 +329,7 @@ int mdc_enqueue(struct obd_export *exp,
                 reply_buffers = 4;
                 req->rq_replen = lustre_msg_size(4, repsize);
         } else if (it->it_op & (IT_GETATTR | IT_LOOKUP)) {
-                obd_valid valid = OBD_MD_FLNOTOBD | OBD_MD_FLEASIZE;
+                obd_valid valid = OBD_MD_FLGETATTR | OBD_MD_FLEASIZE;
                 size[2] = sizeof(struct mds_body);
                 size[3] = data->namelen + 1;