Subject: Re: HEADS UP: change to struct vfsops and to VOP_CLOSE
To: Open Carefully -- Contents Under Pressure <greywolf@starwolf.com>
From: Bill Studenmund <skippy@macro.Stanford.EDU>
List: current-users
Date: 02/26/1999 17:12:25
On Fri, 26 Feb 1999, Open Carefully -- Contents Under Pressure wrote:

> Dr. Skippy,
> 
>  * As part of this change, I found an error in the union filesystem. In
>  * union_copyup() (called when we need to copy a file from the lower layer to
>  * the upper), we would lock the file we were going to copy, but only unlock
>  * it if we successfully opened it. This change was not in the patches I sent
>  * to tech-kern.
> 
> Do you think this might be the cause of the unionfs 'Locking against myself'
> errors?

It might well be. I'm not sure, but it certainly was a bug. And it is
consistent with the trace which was circulated on port-sparc recently (I
think - the trace was sent to me by another party). So please give it a
try!

Take care,

Bill