Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2011 13:50:14 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r227883 - stable/8/sys/fs/pseudofs
Message-ID:  <201111231350.pANDoESr048230@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Wed Nov 23 13:50:14 2011
New Revision: 227883
URL: http://svn.freebsd.org/changeset/base/227883

Log:
  MFC: r227527
  
  Removed extra PRELE() call.

Modified:
  stable/8/sys/fs/pseudofs/pseudofs_vnops.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/fs/pseudofs/pseudofs_vnops.c
==============================================================================
--- stable/8/sys/fs/pseudofs/pseudofs_vnops.c	Wed Nov 23 12:24:48 2011	(r227882)
+++ stable/8/sys/fs/pseudofs/pseudofs_vnops.c	Wed Nov 23 13:50:14 2011	(r227883)
@@ -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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111231350.pANDoESr048230>