aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/jdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/jdata.c')
-rw-r--r--fs/gfs2/jdata.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/gfs2/jdata.c b/fs/gfs2/jdata.c
index 6caa93e..e43eaf1 100644
--- a/fs/gfs2/jdata.c
+++ b/fs/gfs2/jdata.c
@@ -22,6 +22,13 @@
#include "meta_io.h"
#include "trans.h"
+int gfs2_internal_read(struct gfs2_inode *ip,
+ struct file_ra_state *ra_state,
+ char *buf, loff_t *pos, unsigned size)
+{
+ return gfs2_jdata_read_mem(ip, buf, *pos, size);
+}
+
int gfs2_jdata_get_buffer(struct gfs2_inode *ip, uint64_t block, int new,
struct buffer_head **bhp)
{