Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 07:00:28 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Jeff Roberson <jroberson@jroberson.net>
Cc:        arch@FreeBSD.ORG, David Schultz <das@FreeBSD.ORG>
Subject:   Re: f_offset 
Message-ID:  <4993.1208156428@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 13 Apr 2008 13:16:59 -1000." <20080413131422.V959@desktop> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20080413131422.V959@desktop>, Jeff Roberson writes:

>However, f_offset is fetched and set with a shared vnode lock for readers.

"fetched AND set" with a shared lock ?

How can that possibly work out sanely ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4993.1208156428>