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/97c61fb40293
branches: trunk
changeset: 332056:97c61fb40293
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 250b208d9b0a -r 97c61fb40293 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);
- Prev by Date:
[src/trunk]: src/sys/uvm Don't nest structure definitions.
- Next by Date:
[src/trunk]: src/sys Try not to use f_data, use f_{vnode, socket, pipe, mqueue, k...
- Previous by Thread:
[src/trunk]: src/sys/uvm Don't nest structure definitions.
- Next by Thread:
[src/trunk]: src/sys Try not to use f_data, use f_{vnode, socket, pipe, mqueue, k...
- Indexes:
Home |
Main Index |
Thread Index |
Old Index