constify rw_verify_area()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-06-19 15:26:04 +04:00
parent ee32465249
commit 68d70d03f8
4 changed files with 4 additions and 2 deletions

View File

@@ -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;