Whamcloud - gitweb
LU-6540 test: fix no %s specifier for the file
[fs/lustre-release.git] / lustre / llite / vvp_req.c
index 17b6866..d070d9d 100644 (file)
@@ -55,8 +55,6 @@ static inline struct vvp_req *cl2vvp_req(const struct cl_req_slice *slice)
  *    - o_parent_oid
  *
  *    - o_parent_ver
- *
- *  and capability.
  */
 static void vvp_req_attr_set(const struct lu_env *env,
                             const struct cl_req_slice *slice,
@@ -65,17 +63,10 @@ static void vvp_req_attr_set(const struct lu_env *env,
 {
        struct inode    *inode;
        struct obdo     *oa;
-       u32              valid_flags;
+       u64              valid_flags = OBD_MD_FLTYPE;
 
        oa = attr->cra_oa;
        inode = vvp_object_inode(obj);
-       valid_flags = OBD_MD_FLTYPE;
-
-       if ((flags & OBD_MD_FLOSSCAPA) != 0) {
-               LASSERT(attr->cra_capa == NULL);
-               attr->cra_capa = cl_capa_lookup(inode,
-                                               slice->crs_req->crq_type);
-       }
 
        if (slice->crs_req->crq_type == CRT_WRITE) {
                valid_flags |= OBD_MD_FLMTIME | OBD_MD_FLCTIME |