fs: symlink write_begin allocation context fix
[deliverable/linux.git] / fs / afs / write.c
index d6b85dab35fcc71a16ba310bb11848c7ae7e891d..3fb36d433621dd2bb71edcc757dbe22390ff2640 100644 (file)
@@ -144,7 +144,7 @@ int afs_write_begin(struct file *file, struct address_space *mapping,
        candidate->state = AFS_WBACK_PENDING;
        init_waitqueue_head(&candidate->waitq);
 
-       page = __grab_cache_page(mapping, index);
+       page = grab_cache_page_write_begin(mapping, index, flags);
        if (!page) {
                kfree(candidate);
                return -ENOMEM;
This page took 0.023675 seconds and 5 git commands to generate.