Unix Technical Forum

Re: Fix for PR 3634

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:59 AM
Pedro Martelletto
 
Posts: n/a
Default Re: Fix for PR 3634

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com