svn commit: r281776 - stable/10/sys/vm
Alan Cox
alc at FreeBSD.org
Mon Apr 20 17:36:44 UTC 2015
Author: alc
Date: Mon Apr 20 17:36:43 2015
New Revision: 281776
URL: https://svnweb.freebsd.org/changeset/base/281776
Log:
MFC r279400
Eliminate a variable that became unused when VFS_LOCK_GIANT() was
eliminated.
Modified:
stable/10/sys/vm/vm_mmap.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/vm/vm_mmap.c
==============================================================================
--- stable/10/sys/vm/vm_mmap.c Mon Apr 20 17:36:35 2015 (r281775)
+++ stable/10/sys/vm/vm_mmap.c Mon Apr 20 17:36:43 2015 (r281776)
@@ -1293,11 +1293,9 @@ vm_mmap_vnode(struct thread *td, vm_size
struct vattr va;
vm_object_t obj;
vm_offset_t foff;
- struct mount *mp;
struct ucred *cred;
int error, flags, locktype;
- mp = vp->v_mount;
cred = td->td_ucred;
if ((*maxprotp & VM_PROT_WRITE) && (*flagsp & MAP_SHARED))
locktype = LK_EXCLUSIVE;
More information about the svn-src-stable
mailing list