[PATCH 0/7] Permit filesystem local caching and NFS superblock
sharing [try #13]
Trond Myklebust
trond.myklebust at fys.uio.no
Tue Sep 5 00:57:01 EDT 2006
On Tue, 2006-09-05 at 12:06 +0800, Ian Kent wrote:
> > One way to fix this is to simply not hash the dentry when we're doing
> > the O_EXCL intent optimisation, but rather to only hash it _after_ we've
> > successfully created the file on the server. Something like the attached
> > patch ought to do it.
>
> No.
>
> This patch simply marks the dentry negative and returns ENOMEM from the
> lookup which, as would be expected, results in this error being returned
> to userspace.
Oops. You are right. I forgot to set res=NULL...
-------------- next part --------------
An embedded message was scrubbed...
From: Trond Myklebust <Trond.Myklebust at netapp.com>
Subject: No Subject
Date:
Size: 1275
Url: http://linux-nfs.org/pipermail/nfsv4/attachments/20060905/1c663a38/linux-2.6.18-063-fix_exclusive_create.eml
More information about the NFSv4
mailing list