Fix an incorrectly placed parenthesis.
While syntactically correct and even looking correct, it was definitely not providing the desired result. And it has been this way for nearly twenty years. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8d2c13931b
commit
221da3e921
@ -689,7 +689,7 @@ ffs_snapshot(struct mount *mp, char *snapfile)
|
||||
*blkp++ = lblkno(fs, fs->fs_sblockloc);
|
||||
blkno = fragstoblks(fs, fs->fs_csaddr);
|
||||
for (cg = 0; cg < fs->fs_ncg; cg++) {
|
||||
if (fragstoblks(fs, cgtod(fs, cg) > blkno))
|
||||
if (fragstoblks(fs, cgtod(fs, cg)) > blkno)
|
||||
break;
|
||||
*blkp++ = fragstoblks(fs, cgtod(fs, cg));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user