]> Pileus Git - ~andy/linux/blobdiff - fs/nfs/file.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
[~andy/linux] / fs / nfs / file.c
index d319b49f8f06f4046c408afe8a290a9e05b7920e..90f292b520d25eec248a9728b7d61cf20cd061f9 100644 (file)
@@ -354,7 +354,7 @@ static int nfs_write_begin(struct file *file, struct address_space *mapping,
                file->f_path.dentry->d_name.name,
                mapping->host->i_ino, len, (long long) pos);
 
-       page = __grab_cache_page(mapping, index);
+       page = grab_cache_page_write_begin(mapping, index, flags);
        if (!page)
                return -ENOMEM;
        *pagep = page;