Whamcloud - gitweb
LU-3105 osc: remove capa support
[fs/lustre-release.git] / lustre / llite / vvp_req.c
index e78e0b2..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,
@@ -70,12 +68,6 @@ static void vvp_req_attr_set(const struct lu_env *env,
        oa = attr->cra_oa;
        inode = vvp_object_inode(obj);
 
-       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 |
                               OBD_MD_FLUID | OBD_MD_FLGID;