mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Alexander Viro <viro@math.psu.edu>
Cc: torvalds@transmeta.com, pmenage@ensim.com, linux-kernel@vger.kernel.org
Subject: Re: [RFC] Rearranging struct dentry for cache affinity
Date: Tue, 16 Jul 2002 13:54:19 +1000	[thread overview]
Message-ID: <20020716135419.3a301947.rusty@rustcorp.com.au> (raw)
In-Reply-To: <Pine.GSO.4.21.0207130455530.13648-100000@weyl.math.psu.edu>

On Sat, 13 Jul 2002 05:11:46 -0400 (EDT)
Alexander Viro <viro@math.psu.edu> wrote:

> futex.c is seriously b0rken.

Really?  Other than changing over to get_sb_psuedo(), what does your patch
fix?  As the filesystem should never be unmounted, what am I missing?

Thanks!
Rusty.

> @@ -272,7 +272,8 @@
>  		return -ENFILE;
>  	}
>  	filp->f_op = &futex_fops;
> -	filp->f_dentry = dget(futex_dentry);
> +	filp->f_vfsmnt = mntget(futex_mnt);
> +	filp->f_dentry = dget(futex_mnt->mnt_root);
>  
>  	if (signal) {
>  		filp->f_owner.pid = current->pid;
-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy

  reply	other threads:[~2002-07-16  4:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12 20:38 Paul Menage
2002-07-12 20:58 ` Dave Jones
2002-07-12 21:21   ` Paul Menage
2002-07-13  9:11 ` Alexander Viro
2002-07-16  3:54   ` Rusty Russell [this message]
2002-07-16  4:40     ` Alexander Viro
2002-07-17  0:04       ` Rusty Russell

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=20020716135419.3a301947.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmenage@ensim.com \
    --cc=torvalds@transmeta.com \
    --cc=viro@math.psu.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®