Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/linux dma_buf_fd(): fd_putfile() does ...



details:   https://anonhg.NetBSD.org/src/rev/4b638e62c5cd
branches:  trunk
changeset: 447237:4b638e62c5cd
user:      tnn <tnn%NetBSD.org@localhost>
date:      Fri Jan 04 23:03:02 2019 +0000

description:
dma_buf_fd(): fd_putfile() does not belong here

PR kern/53834 ok riastradh@

diffstat:

 sys/external/bsd/drm2/linux/linux_dma_buf.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r de525ffb856a -r 4b638e62c5cd sys/external/bsd/drm2/linux/linux_dma_buf.c
--- a/sys/external/bsd/drm2/linux/linux_dma_buf.c       Fri Jan 04 21:57:53 2019 +0000
+++ b/sys/external/bsd/drm2/linux/linux_dma_buf.c       Fri Jan 04 23:03:02 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_dma_buf.c,v 1.4 2018/08/27 15:25:13 riastradh Exp $      */
+/*     $NetBSD: linux_dma_buf.c,v 1.5 2019/01/04 23:03:02 tnn Exp $    */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.4 2018/08/27 15:25:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.5 2019/01/04 23:03:02 tnn Exp $");
 
 #include <sys/types.h>
 #include <sys/atomic.h>
@@ -119,7 +119,6 @@
        fd_set_exclose(curlwp, fd, (flags & O_CLOEXEC) != 0);
        fd_affix(curproc, file, fd);
 
-       fd_putfile(fd);
        ret = fd;
 out0:  return ret;
 }



Home | Main Index | Thread Index | Old Index