From: Frank Cusack <fcusack@fcusack.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: torvalds@transmeta.com, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] nfs_unlink() again, and trivial nfs_fhget
Date: Tue, 17 Jun 2003 17:06:58 -0700 [thread overview]
Message-ID: <20030617170658.B19126@google.com> (raw)
In-Reply-To: <20030617165507.A19126@google.com>; from fcusack@fcusack.com on Tue, Jun 17, 2003 at 04:55:07PM -0700
On Tue, Jun 17, 2003 at 04:55:07PM -0700, Frank Cusack wrote:
> On Tue, Jun 17, 2003 at 11:41:18AM -0700, Trond Myklebust wrote:
> > If you think that code is wrong then make an argument for
> > changing it, and send me a patch.
>
> I did make an argument, and did send you a patch. Please see my email
> with message id <20030611002226.A19078@google.com>.
Let me quickly amend that, the referenced message is also a VFS change,
but a worse one than proposed in this thread. The reason I proposed to
do it in the VFS is that I couldn't get it to work in the NFS code.
After returning from nfs_rename(), I'd promptly get a null pointer deref.
Yes, I did want to suggest an NFS patch, but it became clear that after
the VFS calls ->rename, it expects things to happen which I didn't do.
More specifically, I avoided the 'if (!d_unhashed()) d_drop()' code, and
rather than figure out the requirements I simply figured I'd propose a
VFS change. Simple just seemed good to me ... I don't think it's so
bad for the VFS to have *small* bits of fs-specific knowledge. You could
call the flag (say) DCACHE_DONT_UNLINK if it makes it sound less specific.
/fc
next prev parent reply other threads:[~2003-06-17 23:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-17 12:14 [PATCH] nfs_unlink() again, and trivial nfs_fhget Frank Cusack
2003-06-17 18:41 ` Trond Myklebust
2003-06-17 23:55 ` Frank Cusack
2003-06-18 0:06 ` Frank Cusack [this message]
2003-06-18 23:40 ` Trond Myklebust
2003-06-22 1:46 ` Frank Cusack
2003-06-22 1:56 ` Frank Cusack
2003-06-22 7:29 ` Trond Myklebust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030617170658.B19126@google.com \
--to=fcusack@fcusack.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.