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
ext4: Reorder fs/Makefile so that ext2 root fs's are mounted using ext2
[safe/jmp/linux-2.6]
/
fs
/
smbfs
/
file.c
diff --git
a/fs/smbfs/file.c
b/fs/smbfs/file.c
index
e4f8d51
..
92d5e8f
100644
(file)
--- a/
fs/smbfs/file.c
+++ b/
fs/smbfs/file.c
@@
-297,7
+297,7
@@
static int smb_write_begin(struct file *file, struct address_space *mapping,
struct page **pagep, void **fsdata)
{
pgoff_t index = pos >> PAGE_CACHE_SHIFT;
- *pagep =
__grab_cache_page(mapping, index
);
+ *pagep =
grab_cache_page_write_begin(mapping, index, flags
);
if (!*pagep)
return -ENOMEM;
return 0;