Aucbvax.5455
net.bugs.2bsd
utzoo!decvax!ucbvax!dist2
Sat Dec 12 04:40:22 1981
IMPORTANT FIX: a bug in nami which may damage file systems
The qcopy routine of nami.c sets i_count to 250 if it exceeds
255. This ultimately causes the quota node to be deallocated at a
time when there are still valid pointers to it. A later attempt to
change the node will cause the first block pointer of some other inode
to be incremented or decremented. The fixes are:
diff kernel/sys/sys/nami.c.old kernel/sys/sys/nami.c
358,359d357
i_count) == 0)
i_count = 250;
diff kernel/include/sys/inode.h.old kernel/include/sys/inode.h
37c37
int i_count; /* reference count */
These changes should be made to all tapes written before 12/12/81.
Carl
-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <
[email protected]>
of
http://communication.ucsd.edu/A-News/
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:
The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.