Messages in this thread | | | Date | Tue, 16 Jul 2002 13:54:19 +1000 | From | Rusty Russell <> | Subject | Re: [RFC] Rearranging struct dentry for cache affinity |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |