Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Use f_vnode instead of f_data
details: https://anonhg.NetBSD.org/src/rev/b23eefde8f5d
branches: trunk
changeset: 802198:b23eefde8f5d
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 05 09:24:48 2014 +0000
description:
Use f_vnode instead of f_data
diffstat:
sys/uvm/uvm_mmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 166a2a79abff -r b23eefde8f5d sys/uvm/uvm_mmap.c
--- a/sys/uvm/uvm_mmap.c Fri Sep 05 09:24:21 2014 +0000
+++ b/sys/uvm/uvm_mmap.c Fri Sep 05 09:24:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_mmap.c,v 1.148 2014/01/25 17:30:45 christos Exp $ */
+/* $NetBSD: uvm_mmap.c,v 1.149 2014/09/05 09:24:48 matt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.148 2014/01/25 17:30:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_mmap.c,v 1.149 2014/09/05 09:24:48 matt Exp $");
#include "opt_compat_netbsd.h"
#include "opt_pax.h"
@@ -400,7 +400,7 @@
fd_putfile(fd);
return (ENODEV); /* only mmap vnodes! */
}
- vp = fp->f_data; /* convert to vnode */
+ vp = fp->f_vnode; /* convert to vnode */
if (vp->v_type != VREG && vp->v_type != VCHR &&
vp->v_type != VBLK) {
fd_putfile(fd);
Home |
Main Index |
Thread Index |
Old Index