Eliminate a variable that became unused when VFS_LOCK_GIANT() was
eliminated. MFC after: 3 days
This commit is contained in:
parent
141ab3f871
commit
37e48c6e3a
@ -1317,11 +1317,9 @@ vm_mmap_vnode(struct thread *td, vm_size_t objsize,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user