Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fe3ec6f authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Fix previous patch



The do_div() call needs to remain.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 55f0b4c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);