platform: goldfish: pipe: use get_user_pages_unlocked()
authorLorenzo Stoakes <lstoakes@gmail.com>
Tue, 1 Nov 2016 19:43:43 +0000 (19:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 14:34:56 +0000 (15:34 +0100)
commit052662cada1f2104dedfab68866e403a508e045c
treecc59f907754b5513c99d9795c7039ff4a63849e6
parent9d59c6e8ae27638fc733fe759b1a013775e745ee
platform: goldfish: pipe: use get_user_pages_unlocked()

Moving from get_user_pages() to get_user_pages_unlocked() simplifies the code
and takes advantage of VM_FAULT_RETRY functionality when faulting in pages.

Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/goldfish/goldfish_pipe.c