Commit 4072ea9e authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] hpfs sparse fixes

parent 27a399fd
...@@ -124,7 +124,8 @@ struct address_space_operations hpfs_aops = { ...@@ -124,7 +124,8 @@ struct address_space_operations hpfs_aops = {
.bmap = _hpfs_bmap .bmap = _hpfs_bmap
}; };
ssize_t hpfs_file_write(struct file *file, const char *buf, size_t count, loff_t *ppos) ssize_t hpfs_file_write(struct file *file, const char __user *buf,
size_t count, loff_t *ppos)
{ {
ssize_t retval; ssize_t retval;
......
...@@ -249,7 +249,7 @@ int hpfs_file_fsync(struct file *, struct dentry *, int); ...@@ -249,7 +249,7 @@ int hpfs_file_fsync(struct file *, struct dentry *, int);
secno hpfs_bmap(struct inode *, unsigned); secno hpfs_bmap(struct inode *, unsigned);
void hpfs_truncate(struct inode *); void hpfs_truncate(struct inode *);
int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create); int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create);
ssize_t hpfs_file_write(struct file *file, const char *buf, size_t count, loff_t *ppos); ssize_t hpfs_file_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos);
/* inode.c */ /* inode.c */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment