From: <cspalletta@adelphia.net>
To: linux-kernel@vger.kernel.org
Cc: mikew@google.com
Subject: Re: namespace question
Date: Thu, 23 Jun 2005 14:31:02 -0400 [thread overview]
Message-ID: <5353647.1119551462209.JavaMail.root@web1.mail.adelphia.net> (raw)
---- Mike Waychison <mikew@google.com> wrote:
> cspalletta@adelphia.net wrote:
> > I don't believe the following to be an error, but I am curious how it occurs:
> >
> > Running a kernel module using dpath iteratively on the mnt_mountpoint member ... I get a curious doubling of the mount point names:
>> proc /proc/proc proc
>> sysfs /sys/sys sysfs
>> devpts /dev/pts/dev/pts devpts
>> tmpfs /dev/shm/dev/shm tmpfs
>> /dev/hda1 /boot/boot ext2
>> usbfs /proc/bus/usb/bus/usb usbfs
> Using the same algorithm with mnt_root produces correct results.
> > dentry = dget(vfsmnt_ptr->mnt_mountpoint);
>
> should be:
>
> dentry = dget(vfsmnt_ptr->mnt_root);
Yes I pointed that out above - what I want to know is why the doubling of the names for mnt_mntpoint. It must be used for something, I suppose.
next reply other threads:[~2005-06-23 18:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-23 18:31 cspalletta [this message]
2005-06-23 21:23 ` namespace question Al Viro
-- strict thread matches above, loose matches on Subject: below --
2005-06-23 15:03 cspalletta
2005-06-23 16:25 ` Mike Waychison
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=5353647.1119551462209.JavaMail.root@web1.mail.adelphia.net \
--to=cspalletta@adelphia.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mikew@google.com \
/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