git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: symlink write_begin allocation context fix
[safe/jmp/linux-2.6]
/
fs
/
nfs
/
file.c
diff --git
a/fs/nfs/file.c
b/fs/nfs/file.c
index
d319b49
..
90f292b
100644
(file)
--- a/
fs/nfs/file.c
+++ b/
fs/nfs/file.c
@@
-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;