]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/read_write.c
constify rw_verify_area()
[karo-tx-linux.git] / fs / read_write.c
index 782dfc3acebcf038db62116ab65536fc28ed8a6a..fd72b592aa1b4a1d96841abedc86da5a67c3535b 100644 (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;