diff options
| author | Andries E. Brouwer <andries.brouwer@cwi.nl> | 2003-09-08 18:55:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-08 18:55:27 -0700 |
| commit | b81f362a92151f6415db63f6099ec486f24d1a1a (patch) | |
| tree | 7064e234b7d6b93d6073b2e6b266dc1a0461093e | |
| parent | 12c7588eb14e885601b3a0cbda3b8bde6cfc364b (diff) | |
[PATCH] sparse fix for fat/file.c
| -rw-r--r-- | fs/fat/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/fat/file.c b/fs/fat/file.c index 029190ca34e3..7e16d8d6ba90 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c @@ -11,8 +11,8 @@ #include <linux/smp_lock.h> #include <linux/buffer_head.h> -static ssize_t fat_file_write(struct file *filp, const char *buf, size_t count, - loff_t *ppos); +static ssize_t fat_file_write(struct file *filp, const char __user *buf, + size_t count, loff_t *ppos); struct file_operations fat_file_operations = { .llseek = generic_file_llseek, @@ -66,8 +66,8 @@ int fat_get_block(struct inode *inode, sector_t iblock, return 0; } -static ssize_t fat_file_write(struct file *filp, const char *buf, size_t count, - loff_t *ppos) +static ssize_t fat_file_write(struct file *filp, const char __user *buf, + size_t count, loff_t *ppos) { struct inode *inode = filp->f_dentry->d_inode; int retval; |
