[S390] fix get_user_pages_fast
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Nov 2010 09:05:51 +0000 (10:05 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 10 Nov 2010 09:05:53 +0000 (10:05 +0100)
commit25591b07033663e09f5e60355fc5ec4d4aa53e63
treeab42df338d8cc5252116fb3345876a95ade0b5c0
parentf6614b7bb405a9b35dd28baea989a749492c46b2
[S390] fix get_user_pages_fast

The check for the _PAGE_RO bit in get_user_pages_fast for write==1 is
the wrong way around. It must not be set for the fast path.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/gup.c