]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/gfs2/aops.c
GFS2: Remove unused argument from gfs2_internal_read
[karo-tx-linux.git] / fs / gfs2 / aops.c
index a627b3ee5c9ffe219860da0f1d58d9da6c88e1c7..695bbe16d1f0ea4f4a202a06ba37c582e459e6c2 100644 (file)
@@ -517,15 +517,14 @@ out:
 /**
  * gfs2_internal_read - read an internal file
  * @ip: The gfs2 inode
- * @ra_state: The readahead state (or NULL for no readahead)
  * @buf: The buffer to fill
  * @pos: The file position
  * @size: The amount to read
  *
  */
 
-int gfs2_internal_read(struct gfs2_inode *ip, struct file_ra_state *ra_state,
-                       char *buf, loff_t *pos, unsigned size)
+int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos,
+                       unsigned size)
 {
        struct address_space *mapping = ip->i_inode.i_mapping;
        unsigned long index = *pos / PAGE_CACHE_SIZE;