diff options
author | pho <pho@FreeBSD.org> | 2011-11-15 09:23:21 +0000 |
---|---|---|
committer | pho <pho@FreeBSD.org> | 2011-11-15 09:23:21 +0000 |
commit | 6a35ddd54a6ed3c8b4fd3ff3e3a3d320aae0e698 (patch) | |
tree | a068e07aafc8b0f8beb18342ffd72c1f693c0b3a | |
parent | 07a4da4c91ffd21b05a873def33903aabb77f9e4 (diff) | |
download | FreeBSD-src-6a35ddd54a6ed3c8b4fd3ff3e3a3d320aae0e698.zip FreeBSD-src-6a35ddd54a6ed3c8b4fd3ff3e3a3d320aae0e698.tar.gz |
Removed extra PRELE() call.
MFC after: 1 week
-rw-r--r-- | sys/fs/pseudofs/pseudofs_vnops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/pseudofs/pseudofs_vnops.c b/sys/fs/pseudofs/pseudofs_vnops.c index f8343a9..27b2605 100644 --- a/sys/fs/pseudofs/pseudofs_vnops.c +++ b/sys/fs/pseudofs/pseudofs_vnops.c @@ -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; } |