git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
fs
/
smbfs
/
file.c
diff --git
a/fs/smbfs/file.c
b/fs/smbfs/file.c
index
f1b17ac
..
12fc56c
100644
(file)
--- a/
fs/smbfs/file.c
+++ b/
fs/smbfs/file.c
@@
-215,7
+215,7
@@
smb_updatepage(struct file *file, struct page *page, unsigned long offset,
}
static ssize_t
}
static ssize_t
-smb_file_read(struct file * file, char * buf, size_t count, loff_t *ppos)
+smb_file_read(struct file * file, char
__user
* buf, size_t count, loff_t *ppos)
{
struct dentry * dentry = file->f_dentry;
ssize_t status;
{
struct dentry * dentry = file->f_dentry;
ssize_t status;
@@
-318,7
+318,7
@@
struct address_space_operations smb_file_aops = {
* Write to a file (through the page cache).
*/
static ssize_t
* Write to a file (through the page cache).
*/
static ssize_t
-smb_file_write(struct file *file, const char *buf, size_t count, loff_t *ppos)
+smb_file_write(struct file *file, const char
__user
*buf, size_t count, loff_t *ppos)
{
struct dentry * dentry = file->f_dentry;
ssize_t result;
{
struct dentry * dentry = file->f_dentry;
ssize_t result;