]> git.baikalelectronics.ru Git - kernel.git/commit
Fix staging driver use of VM_RESERVED
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 12:06:41 +0000 (21:06 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 12:06:41 +0000 (21:06 +0900)
commitfc5f70f1b06f406fd137f7b4d3e991cdb3280c32
treec135d9a86162092fc748b1556b95db91b8b90cad
parente1a7eb74190d58428dc9e944f12f27590d3f793f
Fix staging driver use of VM_RESERVED

The VM_RESERVED flag was killed off in commit b41cb7d9641a ("mm: kill
vma flag VM_RESERVED and mm->reserved_vm counter"), and replaced by the
proper semantic flags (eg "don't core-dump" etc).  But there was a new
use of VM_RESERVED that got missed by the merge.

Fix the remaining use of VM_RESERVED in the vfio_pci driver, replacing
the VM_RESERVED flag with VM_DONTEXPAND | VM_DONTDUMP.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation,org>
drivers/vfio/pci/vfio_pci.c