svn commit: r246291 - stable/9/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun Feb 3 18:27:57 UTC 2013


Author: dchagin
Date: Sun Feb  3 18:27:57 2013
New Revision: 246291
URL: http://svnweb.freebsd.org/changeset/base/246291

Log:
  MFC r240387 (by kevlo@):
   Remove redundant check.

Modified:
  stable/9/sys/compat/linux/linux_file.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/compat/linux/linux_file.c
==============================================================================
--- stable/9/sys/compat/linux/linux_file.c	Sun Feb  3 18:14:37 2013	(r246290)
+++ stable/9/sys/compat/linux/linux_file.c	Sun Feb  3 18:27:57 2013	(r246291)
@@ -381,11 +381,6 @@ getdents_common(struct thread *td, struc
 	auio.uio_resid = buflen;
 	auio.uio_offset = off;
 
-	if (cookies) {
-		free(cookies, M_TEMP);
-		cookies = NULL;
-	}
-
 #ifdef MAC
 	/*
 	 * Do directory search MAC check using non-cached credentials.


More information about the svn-src-stable-9 mailing list