diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2000-09-05 02:13:14 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2000-09-05 02:13:14 +0000 |
| commit | b4d0de586d995452dfe98e534d8c83ef50ac28a1 (patch) | |
| tree | 6fed3bdedc74c3888faf0f94b110706e45132c27 /sys/kern/vfs_extattr.c | |
| parent | f1998090a4300b3155abd47b2d098667e3d83370 (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_extattr.c')
| -rw-r--r-- | sys/kern/vfs_extattr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 4dd6f3746cc1..7f4c6bc0cc20 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -3611,11 +3611,6 @@ extattr_set_file(p, uap) cnt = auio.uio_resid; error = VOP_SETEXTATTR(nd.ni_vp, attrname, &auio, p->p_cred->pc_ucred, p); - /* - if (auio.uio_resid != cnt && (error == ERESTART || - error == EINTR || error == EWOULDBLOCK)) - error = 0; - */ cnt -= auio.uio_resid; p->p_retval[0] = cnt; done: @@ -3683,11 +3678,6 @@ extattr_get_file(p, uap) cnt = auio.uio_resid; error = VOP_GETEXTATTR(nd.ni_vp, attrname, &auio, p->p_cred->pc_ucred, p); - /* - if (auio.uio_resid != cnt && (error == ERESTART || - error == EINTR || error == EWOULDBLOCK)) - error = 0; - */ cnt -= auio.uio_resid; p->p_retval[0] = cnt; done: |
