On 31/10/12 16:42, Al Viro wrote: > On Wed, Oct 31, 2012 at 04:14:21PM +0000, James Hogan wrote: >> +static int fserrno; > > ... and nothing visible serializing its users. AFAICS, there's nothing > stopping one thread from doing this fscall thing, then deciding to check > what's in fserrno only to find that *another* thread has also done > fscall - a different one, with different results and different value > stored in fserrno. Yep, I'll fix that. Thanks for taking a look James -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html