diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-19 13:26:04 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 10:57:34 +0200 |
commit | 68d70d03f8f5bd10a0e7337210b13f536fd4aeb9 (patch) | |
tree | 2d55d3c5286748ce3cf3828f877cdf703c9b1249 /fs/read_write.c | |
parent | ps3flash: switch to generic_file_llseek_size() (diff) | |
download | linux-68d70d03f8f5bd10a0e7337210b13f536fd4aeb9.tar.xz linux-68d70d03f8f5bd10a0e7337210b13f536fd4aeb9.zip |
constify rw_verify_area()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r-- | fs/read_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/read_write.c b/fs/read_write.c index 782dfc3acebc..fd72b592aa1b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -316,7 +316,7 @@ out_putf: * them to something that fits in "int" so that others * won't have to do range checks all the time. */ -int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count) +int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count) { struct inode *inode; loff_t pos; |