Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2015 07:35:19 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281728 - head/sys/compat/linux
Message-ID:  <201504190735.t3J7ZJEr088041@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sun Apr 19 07:35:18 2015
New Revision: 281728
URL: https://svnweb.freebsd.org/changeset/base/281728

Log:
  Add back fdrop() missed in r281726.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/compat/linux/linux_file.c

Modified: head/sys/compat/linux/linux_file.c
==============================================================================
--- head/sys/compat/linux/linux_file.c	Sun Apr 19 07:16:44 2015	(r281727)
+++ head/sys/compat/linux/linux_file.c	Sun Apr 19 07:35:18 2015	(r281728)
@@ -161,6 +161,7 @@ linux_common_open(struct thread *td, int
 		    PROC_UNLOCK(p);
 		    sx_sunlock(&proctree_lock);
 	    }
+	    fdrop(fp, td);
     }
 
 done:



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