aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-02-27 12:00:42 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-27 12:00:42 -0500
commit568f4c9659a2225b0d29cf86feecbcf25c9045c8 (patch)
tree8ec0fee12313f88a195e0b90924f6b7633ba29f1 /fs/gfs2/meta_io.c
parent3a8fe9be6c9794e55ac2253eab91d42b28a9dab6 (diff)
[GFS2] 80 Column audit of GFS2
Requested by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r--fs/gfs2/meta_io.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index f4c4dfbf6986..53f33fa899f9 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -542,7 +542,8 @@ int gfs2_meta_reread(struct gfs2_sbd *sdp, struct buffer_head *bh, int flags)
542 * @meta: Flag to indicate whether its metadata or not 542 * @meta: Flag to indicate whether its metadata or not
543 */ 543 */
544 544
545void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, int meta) 545void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh,
546 int meta)
546{ 547{
547 struct gfs2_bufdata *bd; 548 struct gfs2_bufdata *bd;
548 549
@@ -818,7 +819,8 @@ void gfs2_meta_ra(struct gfs2_glock *gl, uint64_t dblock, uint32_t extlen)
818 struct gfs2_sbd *sdp = gl->gl_sbd; 819 struct gfs2_sbd *sdp = gl->gl_sbd;
819 struct inode *aspace = gl->gl_aspace; 820 struct inode *aspace = gl->gl_aspace;
820 struct buffer_head *first_bh, *bh; 821 struct buffer_head *first_bh, *bh;
821 uint32_t max_ra = gfs2_tune_get(sdp, gt_max_readahead) >> sdp->sd_sb.sb_bsize_shift; 822 uint32_t max_ra = gfs2_tune_get(sdp, gt_max_readahead) >>
823 sdp->sd_sb.sb_bsize_shift;
822 int error; 824 int error;
823 825
824 if (!extlen || !max_ra) 826 if (!extlen || !max_ra)