diff options
author | Andrew Price <anprice@redhat.com> | 2012-04-16 17:40:55 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2012-04-24 17:44:37 +0200 |
commit | 4306629e1c0fd098d52f499e5a60aaa03e30df0d (patch) | |
tree | 82e2f8768dd0d273d31bb83eb8e10c1501eceece /fs/gfs2/inode.h | |
parent | GFS2: Remove bd_list_tr (diff) | |
download | linux-4306629e1c0fd098d52f499e5a60aaa03e30df0d.tar.xz linux-4306629e1c0fd098d52f499e5a60aaa03e30df0d.zip |
GFS2: Remove unused argument from gfs2_internal_read
gfs2_internal_read accepts an unused ra_state argument, left over from
when we did readahead on the rindex. Since there are currently no plans
to add back this readahead, this patch removes the ra_state parameter
and updates the functions which call gfs2_internal_read accordingly.
Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.h')
-rw-r--r-- | fs/gfs2/inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/inode.h b/fs/gfs2/inode.h index 5d345b402773..c53c7477f6da 100644 --- a/fs/gfs2/inode.h +++ b/fs/gfs2/inode.h @@ -17,7 +17,6 @@ extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask); extern int gfs2_internal_read(struct gfs2_inode *ip, - struct file_ra_state *ra_state, char *buf, loff_t *pos, unsigned size); extern void gfs2_set_aops(struct inode *inode); |