Whamcloud - gitweb
LU-12370 ptlrpc: grammar fix.
[fs/lustre-release.git] / lustre / osd-zfs / osd_xattr.c
index 67be1b4..ab4d683 100644 (file)
@@ -583,8 +583,7 @@ int __osd_sa_xattr_set(const struct lu_env *env, struct osd_object *obj,
                return rc;
 
        LASSERT(obj->oo_sa_xattr);
-       /* Limited to 32k to keep nvpair memory allocations small */
-       if (buf->lb_len > DXATTR_MAX_ENTRY_SIZE) {
+       if (buf->lb_len > OBD_MAX_EA_SIZE) {
                too_big = 1;
        } else {
                /* Prevent the DXATTR SA from consuming the entire SA