]> err.no Git - linux-2.6/blobdiff - fs/aio.c
[CIFS] Fix oops when Windows server sent bad domain name null terminator
[linux-2.6] / fs / aio.c
index d3a6ec2c9627e1e58a769c93398f2a3787bdfda8..5f577a63bdf0e18ed51a39047e599e073f1a48bf 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -586,7 +586,7 @@ static void use_mm(struct mm_struct *mm)
         * Note that on UML this *requires* PF_BORROWED_MM to be set, otherwise
         * it won't work. Update it accordingly if you change it here
         */
-       activate_mm(active_mm, mm);
+       switch_mm(active_mm, mm, tsk);
        task_unlock(tsk);
 
        mmdrop(active_mm);