Whamcloud - gitweb
b=6962
authoralex <alex>
Wed, 29 Jun 2005 15:51:29 +0000 (15:51 +0000)
committeralex <alex>
Wed, 29 Jun 2005 15:51:29 +0000 (15:51 +0000)
 - lov_setattr() doesn't need OBD_MD_FLGENER

lustre/mds/mds_open.c

index a375a98..a23df76 100644 (file)
@@ -396,8 +396,8 @@ mds_create_object(struct obd_device *obd, struct ptlrpc_request *req,
         oa->o_generation = inode->i_generation;
         oa->o_uid = 0; /* must have 0 uid / gid on OST */
         oa->o_gid = 0;
-        oa->o_valid = OBD_MD_FLID | OBD_MD_FLGENER | OBD_MD_FLTYPE |
-                OBD_MD_FLMODE | OBD_MD_FLUID | OBD_MD_FLGID | OBD_MD_FLGROUP;
+        oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE | OBD_MD_FLMODE |
+                        OBD_MD_FLUID | OBD_MD_FLGID | OBD_MD_FLGROUP;
         oa->o_size = 0;
 
         obdo_from_inode(oa, inode, OBD_MD_FLTYPE | OBD_MD_FLATIME |