Re: [RFC PATCH v1 40/40] fs: dafs: Add DAFS filesystem for metag
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2012-10-31 16:42:38
Also in:
linux-fsdevel
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2012-10-31 16:42:38
Also in:
linux-fsdevel
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.