diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 5555f17734c0..39123f8eb7e6 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -586,11 +586,6 @@ ufs_extattr_get(struct vnode *vp, const char *name, struct uio *uio, goto vopunlock_exit; } - if (ueh.ueh_len < uio->uio_offset) { - error = 0; - goto vopunlock_exit; - } - /* allow for offset into the attr data */ uio->uio_offset = base_offset + sizeof(struct ufs_extattr_header);