aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-05 09:11:00 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-05 09:11:00 -0700
commit9f53c6cce8ef992d0806e29ddb39de3ea4baa619 (patch)
tree1d47619008a7006476e84360bbad2217936b7edb /include
parent57ddad15b59215093101ea3b0cdf3d1445b7b3d6 (diff)
downloadhistory-9f53c6cce8ef992d0806e29ddb39de3ea4baa619.tar.gz
Make the new simple_read_from_buffer() take a const src
buffer without complaints.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index f8677c13b4a8f1..22dd6acdf9f1f2 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1527,7 +1527,7 @@ extern int simple_fill_super(struct super_block *, int, struct tree_descr *);
extern int simple_pin_fs(char *name, struct vfsmount **mount, int *count);
extern void simple_release_fs(struct vfsmount **mount, int *count);
-extern ssize_t simple_read_from_buffer(void __user *, size_t, loff_t *, void *, size_t);
+extern ssize_t simple_read_from_buffer(void __user *, size_t, loff_t *, const void *, size_t);
extern int inode_change_ok(struct inode *, struct iattr *);
extern int __must_check inode_setattr(struct inode *, struct iattr *);