GFS2: Fix previous patch
This fixes the rgrp patch,
Steve.
From ea0d7284f2f2bd56386e6c4810bf970e50472054 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Fri, 29 Jan 2010 15:20:34 +0000
Subject: [PATCH 1/3] GFS2: Fix previous patch
The do_div() call needs to remain.
Signed-off-by Steven Whitehouse <[email protected]>
--- fs/gfs2/rgrp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
fs/gfs2/rgrp.c +1 -0
@@ -591,6 +591,7 @@ static int gfs2_ri_update(struct gfs2_inode *ip)u64 rgrp_count = ip->i_disksize;int error; +do_div (rgrp_count,sizeof (struct gfs2_rindex ));clear_rgrpdi (sdp);file_ra_state_init (&ra_state, inode->i_mapping);
Signature · 1 line
1.6.2.5