mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
GFS2: Fix previous patch
The do_div() call needs to remain. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
55f0b4c546
commit
7fe3ec6fe5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user