X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Fzpl_xattr.c;h=eb2c00dfb86f54083005bf019cc7bc73649cc0b5;hb=0377189b884fab7db02a95088e05712c7cf336f7;hp=a7e38e6a2de05f1104761862254bf25eb30c4919;hpb=4f34b3bdf4ced8f808f6cd928b87bd42ea3039fe;p=zfs.git diff --git a/module/zfs/zpl_xattr.c b/module/zfs/zpl_xattr.c index a7e38e6..eb2c00d 100644 --- a/module/zfs/zpl_xattr.c +++ b/module/zfs/zpl_xattr.c @@ -288,7 +288,7 @@ __zpl_xattr_get(struct inode *ip, const char *name, void *value, size_t size, if (zsb->z_use_sa && zp->z_is_sa) { error = zpl_xattr_get_sa(ip, name, value, size); - if (error >= 0) + if (error != -ENOENT) goto out; }