diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2017-02-22 15:42:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-22 16:41:28 -0800 |
commit | a94720bf821dd63e72176da5f423ba7935dde67d (patch) | |
tree | cf518943eefeb9ce2ae619930897c4ef9fb4fae4 /fs/devpts | |
parent | 8474901a33d8a27958bfa99e78736863abd67874 (diff) | |
download | linux-a94720bf821dd63e72176da5f423ba7935dde67d.tar.gz linux-a94720bf821dd63e72176da5f423ba7935dde67d.tar.bz2 linux-a94720bf821dd63e72176da5f423ba7935dde67d.zip |
userfaultfd: use vma_is_anonymous
Cleanup the vma->vm_ops usage.
Side note: it would be more robust if vma_is_anonymous() would also
check that vm_flags hasn't VM_PFNMAP set.
Link: http://lkml.kernel.org/r/20161216144821.5183-5-aarcange@redhat.com
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Michael Rapoport <RAPOPORT@il.ibm.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions