x86, mm: pass in 'total' to __copy_from_user_*nocache()
[deliverable/linux.git] / mm / filemap_xip.c
index 0c04615651b7e8b412e85cdeee26365ddee7515c..bf54f8a2cf1df63172706477d666f8bbea6b0268 100644 (file)
@@ -354,7 +354,7 @@ __xip_file_write(struct file *filp, const char __user *buf,
                        break;
 
                copied = bytes -
-                       __copy_from_user_nocache(xip_mem + offset, buf, bytes);
+                       __copy_from_user_nocache(xip_mem + offset, buf, bytes, bytes);
 
                if (likely(copied > 0)) {
                        status = copied;
This page took 0.024609 seconds and 5 git commands to generate.