gfs2_rindex
char buf[sizeof(struct gfs2_rindex)];
loff_t pos = rgrps * sizeof(struct gfs2_rindex);
if (pos + sizeof(struct gfs2_rindex) > i_size_read(inode))
sizeof(struct gfs2_rindex));
if (error != sizeof(struct gfs2_rindex))
total_data += be32_to_cpu(((struct gfs2_rindex *)buf)->ri_data);
loff_t pos = sdp->sd_rgrps * sizeof(struct gfs2_rindex);
struct gfs2_rindex buf;
sizeof(struct gfs2_rindex));
if (error != sizeof(struct gfs2_rindex))