Parent Directory | Revision Log | Patch
revision 1.43 by roland, Tue Jun 11 21:38:04 2002 UTC | revision 1.44 by roland, Thu Aug 1 00:59:34 2002 UTC | |
---|---|---|
# | Line 601 diskfs_direnter_hard (struct node *dp, c | Line 601 diskfs_direnter_hard (struct node *dp, c |
601 | assert (needed <= DIRBLKSIZ); | assert (needed <= DIRBLKSIZ); |
602 | ||
603 | oldsize = dp->dn_stat.st_size; | oldsize = dp->dn_stat.st_size; |
604 | if ((off_t)(oldsize + DIRBLKSIZ) != dp->dn_stat.st_size) | if ((off_t)(oldsize + DIRBLKSIZ) != (dp->dn_stat.st_size + DIRBLKSIZ)) |
605 | { | { |
606 | /* We can't possibly map the whole directory in. */ | /* We can't possibly map the whole directory in. */ |
607 | munmap ((caddr_t) ds->mapbuf, ds->mapextent); | munmap ((caddr_t) ds->mapbuf, ds->mapextent); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |