Whamcloud - gitweb
LU-6299 osp: zero-length EA xattr_set for striped_dir
[fs/lustre-release.git] / lustre / osp / osp_object.c
index e838544..824564f 100644 (file)
@@ -1146,7 +1146,6 @@ int osp_xattr_set(const struct lu_env *env, struct dt_object *dt,
        int                     rc;
        ENTRY;
 
-       LASSERT(buf->lb_len > 0 && buf->lb_buf != NULL);
        update = thandle_to_dt_update_request(th);
        LASSERT(update != NULL);