This is a discussion on Re: Fix for PR 3634 within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Tue, Nov 14, 2006 at 09:01:09AM -0200, Pedro Martelletto wrote: > There is no need to set IN_CHANGE ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Tue, Nov 14, 2006 at 09:01:09AM -0200, Pedro Martelletto wrote: > There is no need to set IN_CHANGE or IN_UPDATE at that point as no > on-disk data is touched. > > Testing appreciated. Anyone running with this? -p. Index: ufs/ufs/ufs_lookup.c ================================================== ================= RCS file: /cvs/src/sys/ufs/ufs/ufs_lookup.c,v retrieving revision 1.35 diff -u -p -r1.35 ufs_lookup.c --- ufs/ufs/ufs_lookup.c 28 Dec 2005 20:48:18 -0000 1.35 +++ ufs/ufs/ufs_lookup.c 13 Nov 2006 12:28:55 -0000 @@ -414,7 +414,6 @@ notfound: enduseful = slotoffset + slotsize; } dp->i_endoff = roundup(enduseful, DIRBLKSIZ); - dp->i_flag |= IN_CHANGE | IN_UPDATE; /* * We return with the directory locked, so that * the parameters we set up above will still be |