Removed extra PRELE() call.

MFC after:	1 week
This commit is contained in:
Peter Holm 2011-11-15 09:23:21 +00:00
parent d6b6324f02
commit 3c93d4433f

View File

@ -632,8 +632,6 @@ pfs_read(struct vop_read_args *va)
(offset = uio->uio_offset) != uio->uio_offset ||
(resid = uio->uio_resid) != uio->uio_resid ||
(buflen = offset + resid + 1) < offset || buflen > INT_MAX) {
if (proc != NULL)
PRELE(proc);
error = EINVAL;
goto ret;
}