Fix block bitmap end position computation
PR: 261850 Reported by: chenguang.wang MFC after: 2 weeks
This commit is contained in:
parent
509ee39ff2
commit
344243fc92
@ -1068,7 +1068,7 @@ ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size)
|
||||
start = dtogd(fs, bpref) / NBBY;
|
||||
else
|
||||
start = 0;
|
||||
end = howmany(fs->e2fs_fpg, NBBY) - start;
|
||||
end = howmany(fs->e2fs_fpg, NBBY);
|
||||
retry:
|
||||
runlen = 0;
|
||||
runstart = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user