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
/
cifs
/
file.c
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index
b1e1fc6
..
12bb656
100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-2074,7
+2074,7
@@
static int cifs_write_begin(struct file *file, struct address_space *mapping,
cFYI(1, ("write_begin from %lld len %d", (long long)pos, len));
- page =
__grab_cache_page(mapping, index
);
+ page =
grab_cache_page_write_begin(mapping, index, flags
);
if (!page) {
rc = -ENOMEM;
goto out;