scsi: megaraid_sas: Enhance internal DCMD timeout prints
[linux-2.6-microblaze.git] / kernel / futex.c
index 6262f15..2268b97 100644 (file)
@@ -543,7 +543,7 @@ again:
        if (unlikely(should_fail_futex(fshared)))
                return -EFAULT;
 
-       err = get_user_pages_fast(address, 1, 1, &page);
+       err = get_user_pages_fast(address, 1, FOLL_WRITE, &page);
        /*
         * If write access is not required (eg. FUTEX_WAIT), try
         * and get read-only access.