diff options
Diffstat (limited to 'fs/gfs2/jdata.c')
-rw-r--r-- | fs/gfs2/jdata.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/gfs2/jdata.c b/fs/gfs2/jdata.c index 6caa93e46ce0..e43eaf133f10 100644 --- a/fs/gfs2/jdata.c +++ b/fs/gfs2/jdata.c | |||
@@ -22,6 +22,13 @@ | |||
22 | #include "meta_io.h" | 22 | #include "meta_io.h" |
23 | #include "trans.h" | 23 | #include "trans.h" |
24 | 24 | ||
25 | int gfs2_internal_read(struct gfs2_inode *ip, | ||
26 | struct file_ra_state *ra_state, | ||
27 | char *buf, loff_t *pos, unsigned size) | ||
28 | { | ||
29 | return gfs2_jdata_read_mem(ip, buf, *pos, size); | ||
30 | } | ||
31 | |||
25 | int gfs2_jdata_get_buffer(struct gfs2_inode *ip, uint64_t block, int new, | 32 | int gfs2_jdata_get_buffer(struct gfs2_inode *ip, uint64_t block, int new, |
26 | struct buffer_head **bhp) | 33 | struct buffer_head **bhp) |
27 | { | 34 | { |