Re: Linux 2.3.99pre4-5-ac1

From: Marek Habersack (grendel@vip.net.pl)
Date: Wed Apr 12 2000 - 01:57:04 EST


** On Apr 11, Alexander Viro scribbled:
>
>
> On Tue, 11 Apr 2000, Grendel wrote:
>
> > To stay more in sync with the actual code, it should be:
> >
> > return lookup_dentry(tmp, follow) - works, tested.
>
> No, it shouldn't. I've switched the ->follow_link() handling of that stuff
> to vfs_follow_link() everywhere _precisely_ to avoid exporting
> lookup_dentry() left, right and center. And BTW, there's no 'follow'
> anymore.
Actually, I have compiled thus modified ALSA sources and it works (on pre4-5)
- the only effect it had was on... Midnight Commander when browsing the
/proc/asound directory. It holds one symlink for every configured and
soundcard. The symlinks are named from 0 upwards and point to actual
directories named after the card that contain the information files. In my
case it's 0 -> GUS. Now, when entering the GUS directory via the '0' symlink
and then going up, the MC selection bar is positioned on the GUS directory -
just as if it was this way I got in and when following the /proc/self link,
then going back up - the bar is positioned on the 'self' link. Seems that
the change above works with the side effect that the fact the symlink was
used to enter some directory is forgotten, that's it. Other than that,
everything works OK - as I said above, on an unmodified pre4-5.

marek



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:18 EST